summaryrefslogtreecommitdiffstats
path: root/chrome/common/process_watcher_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/process_watcher_posix.cc')
-rw-r--r--chrome/common/process_watcher_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/process_watcher_posix.cc b/chrome/common/process_watcher_posix.cc
index 8f09101..cc68335 100644
--- a/chrome/common/process_watcher_posix.cc
+++ b/chrome/common/process_watcher_posix.cc
@@ -43,7 +43,7 @@ class BackgroundReaper : public PlatformThread::Delegate {
void WaitForChildToDie() {
// Wait forever case.
if (timeout_ == 0) {
- pid_t r = waitpid(child_, NULL, 0);
+ pid_t r = HANDLE_EINTR(waitpid(child_, NULL, 0));
if (r != child_) {
LOG(ERROR) << "While waiting for " << child_
<< " to terminate, we got the following result: " << r;