X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Fstatd.c;h=a44f39f2394097863c14de256801984d9e6907f3;hp=6c5dbde419ed6d932b569d740669efecc10467c0;hb=7b01c4762ae242d2114cc6a59994f678b7d253fc;hpb=03534540a25fe4c0679928a2f3f023e596c78dc4 diff --git a/utils/statd/statd.c b/utils/statd/statd.c index 6c5dbde..a44f39f 100644 --- a/utils/statd/statd.c +++ b/utils/statd/statd.c @@ -479,6 +479,12 @@ int main (int argc, char **argv) /* Make sure we have a privilege port for calling into the kernel */ statd_get_socket(); + /* If sm-notify didn't take all the state files, load + * state information into our notify-list so we can + * pass on any SM_NOTIFY that arrives + */ + load_state(); + for (;;) { pmap_unset (SM_PROG, SM_VERS);