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/network/wait-online | |
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/network/wait-online')
-rw-r--r-- | src/network/wait-online/wait-online.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/wait-online/wait-online.c b/src/network/wait-online/wait-online.c index 544c360edd..4f8270ddfa 100644 --- a/src/network/wait-online/wait-online.c +++ b/src/network/wait-online/wait-online.c @@ -204,7 +204,7 @@ static int run(int argc, char *argv[]) { if (arg_quiet) log_set_max_level(LOG_ERR); - assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGTERM, SIGINT, -1) >= 0); + assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGTERM, SIGINT) >= 0); r = manager_new(&m, arg_interfaces, arg_ignore, arg_required_operstate, arg_required_family, arg_any, arg_timeout); if (r < 0) |