aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-10-05 12:26:04 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-10-05 13:19:55 +0200
commite4a5d64a81bcefe8a08015a877492235b079a9e2 (patch)
treeb15ba5994db24b08810bbd63317a810e40fa29e9
parentb299560872e56fb8aed2d720f9c0b3df9c6265e3 (diff)
Show failing PID
-rw-r--r--src/libutil/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index feea9f48e..0b261ca60 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -903,7 +903,7 @@ int Pid::wait()
return status;
}
if (errno != EINTR)
- throw SysError("cannot get child exit status");
+ throw SysError("cannot get exit status of PID %d", pid);
checkInterrupt();
}
}