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