summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-07 01:51:44 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-07 01:51:44 +0200
commit455d8dc9ff39079b55a0b8f713d73ffb66e74516 (patch)
tree4ff53ce267dfe7d99bdb8f40421d3f3a1b2c359d /src
parentfd8bccfbf9e50a7a0a209867130aac434e0754e7 (diff)
main: show welcome string only when asked for
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a2dc1bc12f..3220942d43 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();