From a3d37605e17bc6b88da9fc86f349a549bd596d13 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 22 Jun 2012 18:49:46 -0700 Subject: Restarting is just the same as starting, so don't return the exit code of the stop function --- initd/cloud-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initd/cloud-init.sh b/initd/cloud-init.sh index 5faa77f8..72b3bd47 100755 --- a/initd/cloud-init.sh +++ b/initd/cloud-init.sh @@ -99,7 +99,7 @@ case "$1" in # ## Note: try-restart is now part of LSB (as of 1.9). ## RH has a similar command named condrestart. - stop ; start + start RETVAL=$? ;; reload|force-reload) -- cgit v1.2.3