main: show welcome string only when asked for

This commit is contained in:
Lennart Poettering 2010-07-07 01:51:44 +02:00
parent fd8bccfbf9
commit 455d8dc9ff

View 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();