summaryrefslogtreecommitdiff
path: root/debian/radosgw.prerm
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-05-30 17:23:36 -0700
committerSage Weil <sage@inktank.com>2013-05-30 17:23:36 -0700
commitcf9aa7a0037e56eada8b3c1bb59d59d0bfe7bba5 (patch)
tree95ec0bc396e60eb829578b88e06154bfe3fff458 /debian/radosgw.prerm
parenta40010534fd2d89eba3991f305089c35f02f2cad (diff)
downloadceph-cf9aa7a0037e56eada8b3c1bb59d59d0bfe7bba5.tar.gz
debian: guard upstart {start,stop} with -x check
Sigh. Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'debian/radosgw.prerm')
-rw-r--r--debian/radosgw.prerm2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/radosgw.prerm b/debian/radosgw.prerm
index b0b0498bd89..4120fb6272c 100644
--- a/debian/radosgw.prerm
+++ b/debian/radosgw.prerm
@@ -5,7 +5,7 @@ set -e
case "$1" in
remove)
- stop radosgw-all || true
+ [ -x /sbin/stop ] && stop radosgw-all || true
invoke-rc.d radosgw stop || {
RESULT=$?
if [ $RESULT != 100 ]; then