1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

core/killall: add (void)

CID #1368238.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-02-19 13:36:17 -05:00
parent f28501279d
commit 5c5d9f26d6

View File

@ -213,7 +213,8 @@ static int killall(int sig, Set *pids, bool send_sighup) {
if (get_ctty_devnr(pid, NULL) >= 0)
kill(pid, SIGHUP);
/* it's OK if the process is gone, just ignore the result */
(void) kill(pid, SIGHUP);
}
}