[systemd-commits] src/main.c

Lennart Poettering lennart at kemper.freedesktop.org
Tue Jul 6 16:51:54 PDT 2010


 src/main.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 455d8dc9ff39079b55a0b8f713d73ffb66e74516
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Jul 7 01:51:44 2010 +0200

    main: show welcome string only when asked for

diff --git a/src/main.c b/src/main.c
index a2dc1bc..3220942 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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();


More information about the systemd-commits mailing list