]> git.proxmox.com Git - mirror_ovs.git/blobdiff - lib/daemon-unix.c
ovsdb-idl: Fix *_is_new() IDL functions.
[mirror_ovs.git] / lib / daemon-unix.c
index 7e48630f0e93abdc26d9205314a14e5ee65c880f..ae59ecf2c2b515531219b670cc18a86e1dda26ab 100644 (file)
@@ -80,7 +80,7 @@ int daemonize_fd = -1;
 
 /* --monitor: Should a supervisory process monitor the daemon and restart it if
  * it dies due to an error signal? */
-static bool monitor;
+bool monitor;
 
 /* --user: Only root can use this option. Switch to new uid:gid after
  * initially running as root.  */
@@ -434,8 +434,8 @@ monitor_daemon(pid_t daemon_pid)
 /* If daemonization is configured, then starts daemonization, by forking and
  * returning in the child process.  The parent process hangs around until the
  * child lets it know either that it completed startup successfully (by calling
- * daemon_complete()) or that it failed to start up (by exiting with a nonzero
- * exit code). */
+ * daemonize_complete()) or that it failed to start up (by exiting with a
+ * nonzero exit code). */
 void
 daemonize_start(bool access_datapath)
 {