diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-03-30 15:42:02 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-04-01 19:23:26 +0200 |
commit | 1e4711af5b98717563f45bbce350b592c77ca646 (patch) | |
tree | 72eeac8fefb5a61e2d08f1dd08e7b265803a9865 | |
parent | c7f9da1e4a322ef148d00162d6d5035d6b4b579a (diff) | |
download | systemd-1e4711af5b98717563f45bbce350b592c77ca646.tar.gz |
userwork: fix signal worker sends to manager requesting more workers
That's what you get for changing these signals around, after checking
everything works, not before.
Bad, Lennart, bad!
Fixes: #15085
(cherry picked from commit e3028514aeb7feee67b4c4747a3af52d09a3e9fd)
-rw-r--r-- | src/userdb/userwork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userdb/userwork.c b/src/userdb/userwork.c index df11b5b984..3bc5ecc1d0 100644 --- a/src/userdb/userwork.c +++ b/src/userdb/userwork.c @@ -763,7 +763,7 @@ static int run(int argc, char *argv[]) { if (parent <= 1) return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Parent already died?"); - if (kill(parent, SIGUSR1) < 0) + if (kill(parent, SIGUSR2) < 0) return log_error_errno(errno, "Failed to kill our own parent."); } } |