diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-04-18 17:13:36 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-04-18 17:13:36 -0700 |
commit | 97309de8bcdd52fb87b0ef61249dd674265f6ce6 (patch) | |
tree | ab0e744ad5838b8fbc60950f39ce375f0eea0f48 /cmogstored.c | |
parent | ab61cee92d1c263149ca3c6bc5ce275c96951068 (diff) | |
download | cmogstored-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.c | 2 |
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) { |