summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-26 18:53:50 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-26 18:53:50 +0100
commit326092991934fe3a02921d1e1278073a5b677dcc (patch)
treeb52098aba5208d1975d97e074e35078371c0bab5
parent720e593603dbfc2d2b2a7b9f6e911ad7f09c61b2 (diff)
parent5aa1054521596c3d268db5f4aff9f2b69647ffc9 (diff)
Merge pull request #2224 from keszybz/analyze-verify-warning
manager: do not set up signals in test mode
-rw-r--r--src/core/manager.c3
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