diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-02-23 15:03:49 +0100 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2024-02-23 18:35:12 +0100 |
commit | db7136ec739fa48a7767d77b2b2cfa633267a62a (patch) | |
tree | 566499311fb00de9b1a2e43c94996f88576d8821 /src/nspawn | |
parent | signal-util: use RET_NERRNO() + RET_GATHER() more (diff) | |
download | systemd-db7136ec739fa48a7767d77b2b2cfa633267a62a.tar.xz systemd-db7136ec739fa48a7767d77b2b2cfa633267a62a.zip |
signal-util: imply sentinel -1 in sigprocmask_many() + sigset_add_many() args list
Diffstat (limited to 'src/nspawn')
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 49b57c5168..05f5027600 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -5994,7 +5994,7 @@ static int run(int argc, char *argv[]) { special_glyph(SPECIAL_GLYPH_LIGHT_SHADE), ansi_grey(), ansi_highlight(), ansi_grey(), ansi_normal()); } - assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGCHLD, SIGWINCH, SIGTERM, SIGINT, SIGRTMIN+18, -1) >= 0); + assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGCHLD, SIGWINCH, SIGTERM, SIGINT, SIGRTMIN+18) >= 0); r = make_reaper_process(true); if (r < 0) { |