From baf820e0c14ae3acf6df2e41f43f5422dcd1bdda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Mon, 3 Jun 2013 12:30:48 +0200 Subject: [PATCH] main: allow daemonizing again - initialize become_daemon to TRUE (bgo #701383) 7ff3d1500e8a9dcce4d12b7b879bf1d178b94bf8 reversed become_daemon for "--no-daemon" with G_OPTION_FLAG_REVERSE, but missed to reverse initialization into become_daemon=TRUE and thus NM couldn't be daemonized. https://bugzilla.gnome.org/show_bug.cgi?id=701383 --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 25d975b61..67be160b4 100644 --- a/src/main.c +++ b/src/main.c @@ -303,7 +303,7 @@ int main (int argc, char *argv[]) { GOptionContext *opt_ctx = NULL; - gboolean become_daemon = FALSE, run_from_build_dir = FALSE; + gboolean become_daemon = TRUE, run_from_build_dir = FALSE; gboolean debug = FALSE; gboolean g_fatal_warnings = FALSE; gs_free char *pidfile = NULL;