mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 23:20:32 +00:00
Merge pull request #2224 from keszybz/analyze-verify-warning
manager: do not set up signals in test mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user