about summary refs log tree commit homepage
path: root/cmogstored.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-04-18 17:13:36 -0700
committerEric Wong <normalperson@yhbt.net>2012-04-18 17:13:36 -0700
commit97309de8bcdd52fb87b0ef61249dd674265f6ce6 (patch)
treeab0e744ad5838b8fbc60950f39ce375f0eea0f48 /cmogstored.c
parentab61cee92d1c263149ca3c6bc5ce275c96951068 (diff)
downloadcmogstored-97309de8bcdd52fb87b0ef61249dd674265f6ce6.tar.gz
Similarly, if folks continue to rely on the Perl mogstored
daemon for whatever reason, avoid potentially conflicting and
having unnecessary wakeups/activity for usage file changes.
Diffstat (limited to 'cmogstored.c')
-rw-r--r--cmogstored.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmogstored.c b/cmogstored.c
index c71655a..ffe1b8d 100644
--- a/cmogstored.c
+++ b/cmogstored.c
@@ -423,7 +423,7 @@ static void siginit(void (*wakeup_handler)(int))
 static void main_loop(const pid_t parent)
 {
         while (parent == 0 || parent == getppid()) {
-                mog_notify_wait();
+                mog_notify_wait(have_mgmt);
                 if (do_exit)
                         cmogstored_exit();
                 if (have_mgmt && sigchld_nr > 0) {