Fix calling problem introduced when reducing bashisms (#748)

This commit is contained in:
Badlop 2015-09-25 13:35:03 +02:00
parent 825f4fcc35
commit deccf91280
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ CTL=$(which ejabberdctl)
echo "Using commands:"
[ -x "$CTL" ] && echo $CTL || error "can't find ejabberdctl" 10
$CTL stop 2>/dev/null >/dev/null
exec $CTL stop 2>/dev/null >/dev/null
ERLC=${ERL}c
[ -x $ERL ] && echo $ERL || error "can't find erl" 11

View File

@ -45,7 +45,7 @@ CTL=$(which ejabberdctl)
echo "Using commands:"
[ -x "$CTL" ] && echo $CTL || error "can't find ejabberdctl" 10
$CTL stop 2>/dev/null >/dev/null
exec $CTL stop 2>/dev/null >/dev/null
ERLC=${ERL}c
[ -x $ERL ] && echo $ERL || error "can't find erl" 11