public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE2 - rgmanager: Don't ignore max_restarts if expire_time == 0
@ 2008-12-08 22:16 Lon Hohberger
0 siblings, 0 replies; only message in thread
From: Lon Hohberger @ 2008-12-08 22:16 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=0829953cdee6f3a3b5fe474b9ba76cc6a579f657
Commit: 0829953cdee6f3a3b5fe474b9ba76cc6a579f657
Parent: 49bcd8185dc43bf2bdb35802faf4c50b4f2b3ad7
Author: Shane Bradley <sbradley@redhat.com>
AuthorDate: Mon Dec 8 17:06:27 2008 -0500
Committer: Lon Hohberger <lhh@redhat.com>
CommitterDate: Mon Dec 8 17:12:00 2008 -0500
rgmanager: Don't ignore max_restarts if expire_time == 0
bz #475289
---
rgmanager/src/daemons/restree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rgmanager/src/daemons/restree.c b/rgmanager/src/daemons/restree.c
index 94e8b2f..36f0dae 100644
--- a/rgmanager/src/daemons/restree.c
+++ b/rgmanager/src/daemons/restree.c
@@ -523,7 +523,7 @@ assign_restart_policy(resource_t *curres, resource_node_t *parent,
val = res_attr_value(curres, "restart_expire_time");
if (val) {
restart_expire_time = (time_t)expand_time(val);
- if (!restart_expire_time)
+ if ((int64_t)restart_expire_time < 0)
return;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-08 22:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-08 22:16 cluster: STABLE2 - rgmanager: Don't ignore max_restarts if expire_time == 0 Lon Hohberger
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).