diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2015-03-13 09:47:12 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2015-03-13 09:47:12 +0100 |
commit | 85a478f7d1f57febc21d4f8500dd40957804724a (patch) | |
tree | ff374fe6cdc2893b4d343a61c07a099abaa5411e /ejabberdctl.template | |
parent | Replace bashism in ejabberdctl (diff) |
Remove trailing space to get correct arguments
This allows to remove any argument to joincluster/leavecluster scripts
when no parameters has been added after the ctl command.
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 0376d4b5..d321ad31 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 |