25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Extra arguments to cluster scripts are not mandatory

This commit is contained in:
Christophe Romain 2015-03-13 09:56:51 +01:00
parent 85a478f7d1
commit 6093dedb65

View File

@ -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