diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-26 18:53:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-26 18:53:50 +0100 |
commit | 326092991934fe3a02921d1e1278073a5b677dcc (patch) | |
tree | b52098aba5208d1975d97e074e35078371c0bab5 /src | |
parent | 720e593603dbfc2d2b2a7b9f6e911ad7f09c61b2 (diff) | |
parent | 5aa1054521596c3d268db5f4aff9f2b69647ffc9 (diff) | |
download | systemd-326092991934fe3a02921d1e1278073a5b677dcc.tar.gz |
Merge pull request #2224 from keszybz/analyze-verify-warning
manager: do not set up signals in test mode
Diffstat (limited to 'src')
-rw-r--r-- | src/core/manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index ffe27be743..5b17f16ccc 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -410,6 +410,9 @@ static int manager_setup_signals(Manager *m) { assert(m); + if (m->test_run) + return 0; + assert_se(sigaction(SIGCHLD, &sa, NULL) == 0); /* We make liberal use of realtime signals here. On |