]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
init-ceph: continue loop immediately on daemon start failure
authorSage Weil <sage@inktank.com>
Tue, 20 May 2014 23:28:31 +0000 (16:28 -0700)
committerSage Weil <sage@inktank.com>
Tue, 20 May 2014 23:28:31 +0000 (16:28 -0700)
If we fail to start the daemon, skip the post_start and other steps.

Signed-off-by: Sage Weil <sage@inktank.com>
src/init-ceph.in

index 8a8063c73398f48016192428f146a7ca6e9c907b..cf863c651ae0eef9c8c2373536badcbb2e2b0ea2 100644 (file)
@@ -341,6 +341,7 @@ for name in $what; do
            do_cmd_okfail "$cmd" $runarg
            if [ "$ERR" != "0" ]; then
                EXIT_STATUS=$ERR
+               continue
            fi
 
            if [ "$type" = "mon" ]; then