From: David Moreau Simard Date: Tue, 5 Nov 2013 16:32:58 +0000 (-0500) Subject: We should exit 1 if radosgw is not executable X-Git-Tag: v0.73~32^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0c610918c4ebd6fc1376027cfe6425cfdcfa0245;p=ceph.git We should exit 1 if radosgw is not executable An exit 0 means everything went okay - we should exit 1 if there is a problem in starting radosgw. Signed-off-by: David Moreau Simard --- diff --git a/src/init-radosgw b/src/init-radosgw index ad8bcd12835b..85afc308406f 100644 --- a/src/init-radosgw +++ b/src/init-radosgw @@ -20,7 +20,7 @@ DEFAULT_USER='www-data' RADOSGW=`which radosgw` if [ ! -x "$RADOSGW" ]; then - exit 0 + exit 1 fi case "$1" in diff --git a/src/init-radosgw.sysv b/src/init-radosgw.sysv index 43b321bd88ee..70b19950aaa4 100644 --- a/src/init-radosgw.sysv +++ b/src/init-radosgw.sysv @@ -22,7 +22,7 @@ DEFAULT_USER='apache' RADOSGW=`which radosgw` if [ ! -x "$RADOSGW" ]; then - exit 0 + exit 1 fi case "$1" in