mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
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:"
|
||||
[ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user