diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-23 23:26:19 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-23 23:26:19 +0200 |
commit | 8d025b231b97da7b5cf908309f23e5af78bae4a4 (patch) | |
tree | 7ea7f6fcae735b5ada3f5982b1c531952cae96ee | |
parent | 3a76266192da84f6f7b84725e7647c82f8407278 (diff) |
main: don't open console in --test mode
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -615,7 +615,7 @@ int main(int argc, char *argv[]) { /* Reset the console, but only if this is really init and we * are freshly booted */ - if (running_as == MANAGER_INIT) + if (running_as == MANAGER_INIT && action == ACTION_RUN) console_setup(getpid() == 1 && !serialization); /* Make sure D-Bus doesn't fiddle with the SIGPIPE handlers */ |