diff options
author | Badlop <badlop@process-one.net> | 2015-09-25 13:35:03 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2015-09-25 13:35:03 +0200 |
commit | deccf91280f3ed47719f965f03f0122297f51848 (patch) | |
tree | 082c76f7f24a34bf0e7dbd8b430841d566081e4c /tools | |
parent | Merge pull request #748 from joudinet/bashisms (diff) |
Fix calling problem introduced when reducing bashisms (#748)
Diffstat (limited to '')
-rwxr-xr-x | tools/joincluster | 2 | ||||
-rwxr-xr-x | tools/leavecluster | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/joincluster b/tools/joincluster index 837962236..7385e1697 100755 --- a/tools/joincluster +++ b/tools/joincluster @@ -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 diff --git a/tools/leavecluster b/tools/leavecluster index feacdce2d..3e42c700f 100755 --- a/tools/leavecluster +++ b/tools/leavecluster @@ -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 |