mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Improve TTY code to work on more operating systems (thanks to Jan Koum)
This commit is contained in:
parent
cab98b3fd5
commit
df2878739c
@ -169,7 +169,7 @@ debug ()
|
|||||||
read foo
|
read foo
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
TTY=`tty | cut -f4 -d'/'`
|
TTY=`tty | sed -e 's/.*\///g'`
|
||||||
$EXEC_CMD "$ERL \
|
$EXEC_CMD "$ERL \
|
||||||
$NAME debug-${TTY}-${ERLANG_NODE} \
|
$NAME debug-${TTY}-${ERLANG_NODE} \
|
||||||
-remsh $ERLANG_NODE \
|
-remsh $ERLANG_NODE \
|
||||||
|
Loading…
Reference in New Issue
Block a user