Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: c0259b307aa771dd6848bc6eaf4b1ad98b657d31
Parent: cd0d5b10e6ad4f04c0fd0adb440d9ccf0380426f
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Tue Sep 28 13:15:24 2010 +0200
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Tue Sep 28 13:15:24 2010 +0200
cman init: fix "stop remove" operation
re-instate support for stop remove that was erroneusly dropped
Resolves: rhbz#634718
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
cman/init.d/cman.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index 06703f4..7dae24d 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -940,6 +940,9 @@ start)
;;
stop)
cmanremove=""
+ if [ -n "$2" ] && [ "$2" = "remove" ]; then
+ cmanremove=remove
+ fi
stop && rm -f $LOCK_FILE
if [ "$INITLOGLEVEL" = "quiet" ]; then
success