diff options
Diffstat (limited to 'lib/libproc/proc_util.c')
-rw-r--r-- | lib/libproc/proc_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libproc/proc_util.c b/lib/libproc/proc_util.c index 0ab848d..089095e 100644 --- a/lib/libproc/proc_util.c +++ b/lib/libproc/proc_util.c @@ -145,7 +145,8 @@ proc_wstatus(struct proc_handle *phdl) if (phdl == NULL) return (-1); if (waitpid(phdl->pid, &status, WUNTRACED) < 0) { - warn("waitpid"); + if (errno != EINTR) + warn("waitpid"); return (-1); } if (WIFSTOPPED(status)) |