signal-util: imply sentinel -1 in sigprocmask_many() + sigset_add_many() args list
This commit is contained in:
committed by
Vito Caputo
parent
f58411a22f
commit
db7136ec73
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user