mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
Merge pull request #2224 from keszybz/analyze-verify-warning
manager: do not set up signals in test mode
This commit is contained in:
commit
3260929919
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user