Gitweb:
http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=804b8fe92e3...
Commit: 804b8fe92e31b076b9989affaefaf4e739a5e342
Parent: 406611d78778efca6aae5743ba9c7c4391a1b18f
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Mon Nov 26 05:13:22 2012 +0100
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Mon Nov 26 05:13:22 2012 +0100
cman init: deal with another systemd subtle change
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
cman/init.d/cman.in | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/cman/init.d/cman.in b/cman/init.d/cman.in
index 604660d..728b42d 100644
--- a/cman/init.d/cman.in
+++ b/cman/init.d/cman.in
@@ -19,9 +19,6 @@
# set secure PATH
PATH="/bin:/usr/bin:/sbin:/usr/sbin:@SBINDIR@"
-# save invokation for rollback ops
-thisinvokation="$0"
-
chkconfig2()
{
case "$1" in
@@ -230,7 +227,7 @@ nok() {
failure
echo
if [ "$currentaction" = "start" ]; then
- $thisinvokation stop
+ stop && rm -f $LOCK_FILE
fi
exit 1
}