summaryrefslogtreecommitdiffstats
path: root/src/userdb/userwork.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-03-30 15:42:02 +0200
committerLennart Poettering <lennart@poettering.net>2020-03-30 16:05:27 +0200
commite3028514aeb7feee67b4c4747a3af52d09a3e9fd (patch)
tree52127fdc60e1401110a4757bc5b10505cd28fdb8 /src/userdb/userwork.c
parentci: turn off FuzzBuzz (diff)
downloadsystemd-e3028514aeb7feee67b4c4747a3af52d09a3e9fd.tar.xz
systemd-e3028514aeb7feee67b4c4747a3af52d09a3e9fd.zip
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
Diffstat (limited to '')
-rw-r--r--src/userdb/userwork.c2
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.");
}
}