mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 04:10:14 +01:00
main: allow daemonizing again - initialize become_daemon to TRUE (bgo #701383)
7ff3d1500e 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
This commit is contained in:
parent
cae49f0422
commit
baf820e0c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue