Skip to content

Commit

Permalink
More verbose error message
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Aug 24, 2021
1 parent 7b4b67b commit 4eb2f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libutil/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,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();
}
}
Expand Down

0 comments on commit 4eb2f62

Please sign in to comment.