qrexec-agent: catch failure to deliver signal
This commit is contained in:
parent
1dfd1d0e70
commit
511b614f56
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user