mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-04 21:27:16 +02:00
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.
This commit is contained in:
parent
6447aeb726
commit
85a478f7d1
|
@ -468,7 +468,7 @@ case $ARGS in
|
||||||
' etop') etop;;
|
' etop') etop;;
|
||||||
' started') wait_for_status 0 30 2;; # wait 30x2s before timeout
|
' started') wait_for_status 0 30 2;; # wait 30x2s before timeout
|
||||||
' stopped') wait_for_status 3 15 2 && stop_epmd;; # wait 15x2s before timeout
|
' stopped') wait_for_status 3 15 2 && stop_epmd;; # wait 15x2s before timeout
|
||||||
' join_cluster '*) join_cluster ${ARGS# join_cluster };;
|
' join_cluster '*) join_cluster ${ARGS# join_cluster};;
|
||||||
' leave_cluster '*) leave_cluster ${ARGS# leave_cluster };;
|
' leave_cluster '*) leave_cluster ${ARGS# leave_cluster};;
|
||||||
*) ctl $ARGS;;
|
*) ctl $ARGS;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue
Block a user