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