chiark / gitweb /
main: show welcome string only when asked for
[elogind.git] / src / main.c
index a2dc1bc..3220942 100644 (file)
@@ -932,7 +932,8 @@ int main(int argc, char *argv[]) {
         log_debug(PACKAGE_STRING " running in %s mode.", manager_running_as_to_string(arg_running_as));
 
         if (arg_running_as == MANAGER_SYSTEM && !serialization) {
-                status_welcome();
+                if (arg_show_status)
+                        status_welcome();
                 modprobe_setup(arg_nomodules);
                 kmod_setup();
                 hostname_setup();