* [Cluster-devel] cluster/cmirror/src clogd.c
@ 2007-12-07 17:07 jbrassow
0 siblings, 0 replies; only message in thread
From: jbrassow @ 2007-12-07 17:07 UTC (permalink / raw)
To: cluster-devel.redhat.com
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: jbrassow at sourceware.org 2007-12-07 17:07:36
Modified files:
cmirror/src : clogd.c
Log message:
- Bug 384811: RHEL5 cmirror tracker: unable to unload the cmirror kernel module using the init script
daemon was not exiting... init script interpretted this as a problem and
didn't attempt to rm the module.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror/src/clogd.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.2.2&r2=1.1.2.3
--- cluster/cmirror/src/Attic/clogd.c 2007/11/03 18:37:48 1.1.2.2
+++ cluster/cmirror/src/Attic/clogd.c 2007/12/07 17:07:36 1.1.2.3
@@ -123,14 +123,16 @@
r += log_status();
break;
default:
- r = 0;
- break;
+ LOG_PRINT("Unknown signal received... ignoring");
+ return;
}
+
if (!r) {
LOG_PRINT("No current cluster logs... safe to exit.");
- } else {
- LOG_ERROR("Cluster logs exist. Refusing to exit.");
+ exit(EXIT_SUCCESS);
}
+
+ LOG_ERROR("Cluster logs exist. Refusing to exit.");
}
static void process_signals(void)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-07 17:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-07 17:07 [Cluster-devel] cluster/cmirror/src clogd.c jbrassow
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.