diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/statd/statd.c | 3 | ||||
-rw-r--r-- | utils/statd/svc_run.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/utils/statd/statd.c b/utils/statd/statd.c index 3f64115..48362c0 100644 --- a/utils/statd/statd.c +++ b/utils/statd/statd.c @@ -111,7 +111,8 @@ killer (int sig) static void sigusr (int sig) { - dprintf (N_DEBUG, "Caught signal %d, re-reading notify list.", sig); + dprintf (N_DEBUG, "Caught signal %d, re-notifying (state %d).", sig, + MY_STATE); re_notify = 1; } diff --git a/utils/statd/svc_run.c b/utils/statd/svc_run.c index 7b69dc8..f6bcbb9 100644 --- a/utils/statd/svc_run.c +++ b/utils/statd/svc_run.c @@ -88,6 +88,9 @@ my_svc_run(void) if (svc_stop) return; if (re_notify) { + change_state(); + dprintf(N_DEBUG, "Notifying...(new state %d)", + MY_STATE); notify_hosts(); re_notify = 0; } |