X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fmain.c;h=bfc48e5e39a35c4b81abadc4e455b72b83c8bd7e;hb=27d340c772fb1b251085dba7bd5420484f7c5892;hp=94401a5c04a161a2600adea41109b5e3954b4bcd;hpb=0c85a4f3efa2883c414ed8ff59aea263b85b7687;p=elogind.git diff --git a/src/main.c b/src/main.c index 94401a5c0..bfc48e5e3 100644 --- a/src/main.c +++ b/src/main.c @@ -76,7 +76,7 @@ static bool arg_mount_auto = true; static bool arg_swap_auto = true; static char **arg_default_controllers = NULL; static char ***arg_join_controllers = NULL; -static ExecOutput arg_default_std_output = EXEC_OUTPUT_INHERIT; +static ExecOutput arg_default_std_output = EXEC_OUTPUT_SYSLOG; static ExecOutput arg_default_std_error = EXEC_OUTPUT_INHERIT; static FILE* serialization = NULL; @@ -1364,7 +1364,6 @@ int main(int argc, char *argv[]) { } m->confirm_spawn = arg_confirm_spawn; - m->show_status = arg_show_status; #ifdef HAVE_SYSV_COMPAT m->sysv_console = arg_sysv_console; #endif @@ -1379,6 +1378,8 @@ int main(int argc, char *argv[]) { if (arg_default_controllers) manager_set_default_controllers(m, arg_default_controllers); + manager_set_show_status(m, arg_show_status); + before_startup = now(CLOCK_MONOTONIC); if ((r = manager_startup(m, serialization, fds)) < 0)