public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: RHEL4 - [RGMANAGER] Resolves #480831 - Recovery policy of type restart doesn't work
@ 2009-01-20 19:45 Marek Grác
0 siblings, 0 replies; only message in thread
From: Marek Grác @ 2009-01-20 19:45 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=7a3b8199468d06f679ddc067eca3e6fa14641d13
Commit: 7a3b8199468d06f679ddc067eca3e6fa14641d13
Parent: 0a34ebbbd5abdde5688ec2266382326dffacef14
Author: marx <marx@hroch.englab.brq.redhat.com>
AuthorDate: Tue Jan 20 20:40:06 2009 +0100
Committer: Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Tue Jan 20 20:44:50 2009 +0100
[RGMANAGER] Resolves #480831 - Recovery policy of type restart doesn't work
---
rgmanager/src/resources/utils/ra-skelet.sh | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/rgmanager/src/resources/utils/ra-skelet.sh b/rgmanager/src/resources/utils/ra-skelet.sh
index f83378d..37cd942 100644
--- a/rgmanager/src/resources/utils/ra-skelet.sh
+++ b/rgmanager/src/resources/utils/ra-skelet.sh
@@ -52,7 +52,10 @@ stop_generic()
if [ ! -e "$pid_file" ]; then
clog_check_file_exist $CLOG_FAILED_NOT_FOUND "$pid_file"
- return $OCF_ERR_GENERIC
+ # In stop-after-stop situation there is no PID file but
+ # it will be nice to check for it in stop-after-start
+ # look at bug #449394
+ return 0
fi
if [ -z "$kill_timeout" ]; then
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-20 19:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-20 19:45 cluster: RHEL4 - [RGMANAGER] Resolves #480831 - Recovery policy of type restart doesn't work Marek Grác
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).