mirror of
https://github.com/systemd/systemd.git
synced 2026-08-06 08:00:57 +00:00
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
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user