public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: RHEL5 - [RGMANAGER] Resolves #449394 - Recovery policy of type restart doesn't work
@ 2009-01-20 19:41 Marek Grác
  0 siblings, 0 replies; only message in thread
From: Marek Grác @ 2009-01-20 19:41 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e8555cb4a229c6e36e399b74eedf81e0b904bb6b
Commit:        e8555cb4a229c6e36e399b74eedf81e0b904bb6b
Parent:        c3b3dee1f1da733f431fcd4813afccd5ff2ea5a6
Author:        marx <marx@hroch.englab.brq.redhat.com>
AuthorDate:    Tue Jan 20 20:40:06 2009 +0100
Committer:     marx <marx@hroch.englab.brq.redhat.com>
CommitterDate: Tue Jan 20 20:40:06 2009 +0100

[RGMANAGER] Resolves #449394 - 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:41 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:41 cluster: RHEL5 - [RGMANAGER] Resolves #449394 - 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).