X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Fsvc_run.c;h=e2d7c975df91a7014e55de09277ac833d0558f76;hp=393a2fd84803ff5ef57ceffa613f767b1d8cecbd;hb=af93e0306d87bba3f703386fd6390e9bf8e76816;hpb=2c91715a9c8dbf18df1666f70e78d6e36e123ca0 diff --git a/utils/statd/svc_run.c b/utils/statd/svc_run.c index 393a2fd..e2d7c97 100644 --- a/utils/statd/svc_run.c +++ b/utils/statd/svc_run.c @@ -60,6 +60,7 @@ static int svc_stop = 0; * requests are put. */ notify_list * notify = NULL; +int re_notify = 0; /* * Jump-off function. @@ -86,6 +87,10 @@ my_svc_run(void) for (;;) { if (svc_stop) return; + if (re_notify) { + notify_hosts(); + re_notify = 0; + } /* Ah, there are some notifications to be processed */ while (notify && NL_WHEN(notify) <= time(&now)) {