Fix calling problem introduced when reducing bashisms (#748)
This commit is contained in:
parent
825f4fcc35
commit
deccf91280
|
@ -67,7 +67,7 @@ CTL=$(which ejabberdctl)
|
||||||
echo "Using commands:"
|
echo "Using commands:"
|
||||||
[ -x "$CTL" ] && echo $CTL || error "can't find ejabberdctl" 10
|
[ -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
|
ERLC=${ERL}c
|
||||||
|
|
||||||
[ -x $ERL ] && echo $ERL || error "can't find erl" 11
|
[ -x $ERL ] && echo $ERL || error "can't find erl" 11
|
||||||
|
|
|
@ -45,7 +45,7 @@ CTL=$(which ejabberdctl)
|
||||||
echo "Using commands:"
|
echo "Using commands:"
|
||||||
[ -x "$CTL" ] && echo $CTL || error "can't find ejabberdctl" 10
|
[ -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
|
ERLC=${ERL}c
|
||||||
|
|
||||||
[ -x $ERL ] && echo $ERL || error "can't find erl" 11
|
[ -x $ERL ] && echo $ERL || error "can't find erl" 11
|
||||||
|
|
Loading…
Reference in New Issue