From 4ae8f1c9e9b1aee47a3b04f51d38db13e55505a6 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 3 Oct 2011 15:23:15 -0700 Subject: [PATCH] radosgw: make stop succeed when not running This fixes apt-get errors like No /usr/bin/radosgw found running; none killed. invoke-rc.d: initscript radosgw, action "stop" failed. dpkg: warning: subprocess old pre-removal script returned error exit status 1 Signed-off-by: Sage Weil --- src/init-radosgw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init-radosgw b/src/init-radosgw index 4df02f43357..d16b530119c 100644 --- a/src/init-radosgw +++ b/src/init-radosgw @@ -65,7 +65,7 @@ case "$1" in $0 start ;; stop) - start-stop-daemon --stop -x $RADOSGW + start-stop-daemon --stop -x $RADOSGW --oknodo ;; *) echo "Usage: $0 start|stop|restart" >&2