Commit 84d6ea9b authored by Guido Trotter's avatar Guido Trotter
Browse files

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: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin <iustin@google.com>
parent 7ffe8fba
...@@ -87,13 +87,13 @@ case "$1" in ...@@ -87,13 +87,13 @@ case "$1" in
start_action $NODED $NODED_PID start_action $NODED $NODED_PID
start_action $MASTERD $MASTERD_PID start_action $MASTERD $MASTERD_PID
start_action $RAPI $RAPI_PID start_action $RAPI $RAPI_PID
;; ;;
stop) stop)
log_daemon_msg "Stopping $DESC" "$NAME" log_daemon_msg "Stopping $DESC" "$NAME"
stop_action $RAPI $RAPI_PID stop_action $RAPI $RAPI_PID
stop_action $MASTERD $MASTERD_PID stop_action $MASTERD $MASTERD_PID
stop_action $NODED $NODED_PID stop_action $NODED $NODED_PID
;; ;;
restart|force-reload) restart|force-reload)
log_daemon_msg "Reloading $DESC" log_daemon_msg "Reloading $DESC"
stop_action $RAPI $RAPI_PID stop_action $RAPI $RAPI_PID
...@@ -103,11 +103,11 @@ case "$1" in ...@@ -103,11 +103,11 @@ case "$1" in
start_action $NODED $NODED_PID start_action $NODED $NODED_PID
start_action $MASTERD $MASTERD_PID start_action $MASTERD $MASTERD_PID
start_action $RAPI $RAPI_PID start_action $RAPI $RAPI_PID
;; ;;
*) *)
log_success_msg "Usage: $SCRIPTNAME {start|stop|force-reload|restart}" log_success_msg "Usage: $SCRIPTNAME {start|stop|force-reload|restart}"
exit 1 exit 1
;; ;;
esac esac
exit 0 exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment