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,6 +932,7 @@ int main(int argc, char *argv[]) {
log_debug(PACKAGE_STRING " running in %s mode.", manager_running_as_to_string(arg_running_as)); log_debug(PACKAGE_STRING " running in %s mode.", manager_running_as_to_string(arg_running_as));
if (arg_running_as == MANAGER_SYSTEM && !serialization) { if (arg_running_as == MANAGER_SYSTEM && !serialization) {
if (arg_show_status)
status_welcome(); status_welcome();
modprobe_setup(arg_nomodules); modprobe_setup(arg_nomodules);
kmod_setup(); kmod_setup();