resource-agents: master - [RGMANAGER] Resolves #449394 - Recovery policy of type restart doesn't work
Marek Grác
marx@fedoraproject.org
Tue Jan 20 20:03:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/resource-agents.git?p=resource-agents.git;a=commitdiff;h=cc5dee5f43eaa4ac800050294b84a862e244ceca
Commit: cc5dee5f43eaa4ac800050294b84a862e244ceca
Parent: 08b1eedc15ba74fe8ba2785393ab21d299fbfd2b
Author: Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate: Tue Jan 20 21:02:19 2009 +0100
Committer: Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Tue Jan 20 21:02:19 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 982bbc6..e892656 100644
--- a/rgmanager/src/resources/utils/ra-skelet.sh
+++ b/rgmanager/src/resources/utils/ra-skelet.sh
@@ -30,7 +30,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
More information about the Cluster-cvs
mailing list