From 46f1eb68658142c017d9c524d6a28b0b4900553e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 20 May 2014 16:28:31 -0700 Subject: [PATCH] init-ceph: continue loop immediately on daemon start failure If we fail to start the daemon, skip the post_start and other steps. Signed-off-by: Sage Weil --- src/init-ceph.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/init-ceph.in b/src/init-ceph.in index 8a8063c73398f..cf863c651ae0e 100644 --- a/src/init-ceph.in +++ b/src/init-ceph.in @@ -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 -- 2.39.5