qrexec-agent: catch failure to deliver signal

This commit is contained in:
Vincent Penquerc'h 2013-12-29 07:00:53 -05:00 committed by Marek Marczykowski-Górecki
parent 1dfd1d0e70
commit 511b614f56

View File

@ -106,7 +106,10 @@ void wake_meminfo_writer() {
/* check within acceptable range */
return;
}
kill(pid, SIGUSR1);
if (kill(pid, SIGUSR1) < 0) {
/* Can't send signal */
return;
}
meminfo_write_started = 1;
}