1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03: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:
Lennart Poettering 2020-03-30 15:42:02 +02:00
parent 6b8d32ea7b
commit e3028514ae

View File

@ -763,7 +763,7 @@ static int run(int argc, char *argv[]) {
if (parent <= 1) if (parent <= 1)
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Parent already died?"); 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."); return log_error_errno(errno, "Failed to kill our own parent.");
} }
} }