]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
init-radosgw*: fix status return value if radosgw isn't running 574/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 7 Sep 2013 09:30:15 +0000 (11:30 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 7 Sep 2013 17:32:48 +0000 (19:32 +0200)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit b5137baf651eaaa9f67e3864509e437f9d5c3d5a)

src/init-radosgw
src/init-radosgw.sysv

index a526441c3a0650e99e1eb96366e59259dc2591ea..de1e01e00188e7fccd42c78fe1799df43439ae5b 100644 (file)
@@ -83,7 +83,7 @@ case "$1" in
             echo "$RADOSGW is running."
         else
             echo "$RADOSGW is not running."
-            RETVAL=1
+            exit 1
         fi
         ;;
     *)
index e08e1bd1b1b2a51a33506a7a461e1ee9670e7a4c..017e3f9bc07a394b64f80de1f77bf0f0128f790c 100644 (file)
@@ -90,7 +90,7 @@ case "$1" in
             echo "$RADOSGW is running."
         else
             echo "$RADOSGW is not running."
-            RETVAL=1
+            exit 1
         fi
         ;;
     *)