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 <sage@inktank.com>
This commit is contained in:
Sage Weil 2014-05-20 16:28:31 -07:00
parent f305b8a3bd
commit 46f1eb6865

View 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