timeval: Remove CACHE_TIME scheme.
[sliver-openvswitch.git] / lib / daemon.c
index 2c8cf32..1c9ebe2 100644 (file)
@@ -289,7 +289,6 @@ fork_and_clean_up(void)
         fatal_signal_fork();
     } else if (!pid) {
         /* Running in child process. */
-        time_postfork();
         lockfile_postfork();
     }
     return pid;
@@ -529,6 +528,8 @@ daemonize_start(void)
         /* Running in daemon process. */
     }
 
+    forbid_forking("running in daemon process");
+
     if (pidfile) {
         make_pidfile();
     }