diff options
author | Badlop <badlop@process-one.net> | 2010-02-12 22:11:15 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2010-02-12 22:11:15 +0100 |
commit | a71b47ea27371568ae62e02337509744e0c33d92 (patch) | |
tree | 79476af69adc333953936967895b512258fdd8dc /src | |
parent | Added support for Jot in ctl and TTY in debug (thanks to Jan Koum) (diff) |
Improve TTY code to work on more operating systems (thanks to Jan Koum)
Diffstat (limited to 'src')
-rw-r--r-- | src/ejabberdctl.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberdctl.template b/src/ejabberdctl.template index d425a18c9..5567a90af 100644 --- a/src/ejabberdctl.template +++ b/src/ejabberdctl.template @@ -169,7 +169,7 @@ debug () read foo fi echo "" - TTY=`tty | cut -f4 -d'/'` + TTY=`tty | sed -e 's/.*\///g'` $EXEC_CMD "$ERL \ $NAME debug-${TTY}-${ERLANG_NODE} \ -remsh $ERLANG_NODE \ |