From: Guido Trotter Date: Tue, 5 May 2009 14:07:00 +0000 (+0200) Subject: Fix ;; indentation in the main initd loop X-Git-Tag: v2.0.1~6^2~25 X-Git-Url: https://code.grnet.gr/git/ganeti-local/commitdiff_plain/84d6ea9b45c013f80cb14c2814dae9c43b539683 Fix ;; indentation in the main initd loop Currently two of the ;; ending the case bodies are not indented with anything. Reindent all of them to the body of the loop, as it's done somewhere else in the init script. Signed-off-by: Guido Trotter Reviewed-by: Iustin --- diff --git a/doc/examples/ganeti.initd.in b/doc/examples/ganeti.initd.in index 10bc684..a591be6 100644 --- a/doc/examples/ganeti.initd.in +++ b/doc/examples/ganeti.initd.in @@ -87,13 +87,13 @@ case "$1" in start_action $NODED $NODED_PID start_action $MASTERD $MASTERD_PID start_action $RAPI $RAPI_PID - ;; + ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" stop_action $RAPI $RAPI_PID stop_action $MASTERD $MASTERD_PID stop_action $NODED $NODED_PID - ;; + ;; restart|force-reload) log_daemon_msg "Reloading $DESC" stop_action $RAPI $RAPI_PID @@ -103,11 +103,11 @@ case "$1" in start_action $NODED $NODED_PID start_action $MASTERD $MASTERD_PID start_action $RAPI $RAPI_PID - ;; + ;; *) log_success_msg "Usage: $SCRIPTNAME {start|stop|force-reload|restart}" exit 1 - ;; + ;; esac exit 0