This allows to remove any argument to joincluster/leavecluster scripts
when no parameters has been added after the ctl command.
' 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