summaryrefslogtreecommitdiffstats
path: root/utils/statd/svc_run.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/statd/svc_run.c')
-rw-r--r--utils/statd/svc_run.c3
1 files changed, 3 insertions, 0 deletions
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;
}