X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Fsvc_run.c;fp=utils%2Fstatd%2Fsvc_run.c;h=f6bcbb906df907cd847cbe57d5a042d008c89abe;hp=7b69dc8938e744dcc0161026adbc356382df0eb7;hb=2a8ca391fcc5f34aa02aa985a17823f6f7a4ad9f;hpb=8d926d3defedf7bb82c2f3f9fd1746fb0d0b968a 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; }