diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-22 18:49:46 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-22 18:49:46 -0700 |
commit | a3d37605e17bc6b88da9fc86f349a549bd596d13 (patch) | |
tree | 5189bab1e7f4747867542a88d414d749df318f1d | |
parent | 902901d650f11df9a9786dd9b24a3569754c9896 (diff) | |
download | vyos-cloud-init-a3d37605e17bc6b88da9fc86f349a549bd596d13.tar.gz vyos-cloud-init-a3d37605e17bc6b88da9fc86f349a549bd596d13.zip |
Restarting is just the same as starting, so don't return the exit code of the stop function
-rwxr-xr-x | initd/cloud-init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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) |