diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-03-12 19:29:41 +0100 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-03-12 19:29:41 +0100 |
commit | 6447aeb7260703333ccd489920b3710cdbc039ad (patch) | |
tree | 91d2a5628a32b3ccf1995a2e67b6bce1a5d4ed46 /ejabberdctl.template | |
parent | Update sockmod() type after adding websocket support (diff) |
Replace bashism in ejabberdctl
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-x | ejabberdctl.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index eccaca26..0376d4b5 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -468,7 +468,7 @@ case $ARGS in ' etop') etop;; ' started') wait_for_status 0 30 2;; # wait 30x2s before timeout ' stopped') wait_for_status 3 15 2 && stop_epmd;; # wait 15x2s before timeout - ' join_cluster '*) join_cluster ${ARGS/ join_cluster /};; - ' leave_cluster '*) leave_cluster ${ARGS/ leave_cluster /};; + ' join_cluster '*) join_cluster ${ARGS# join_cluster };; + ' leave_cluster '*) leave_cluster ${ARGS# leave_cluster };; *) ctl $ARGS;; esac |