Show failing PID

This commit is contained in:
Eelco Dolstra 2021-10-05 12:26:04 +02:00
parent b299560872
commit e4a5d64a81

View file

@ -903,7 +903,7 @@ int Pid::wait()
return status; return status;
} }
if (errno != EINTR) if (errno != EINTR)
throw SysError("cannot get child exit status"); throw SysError("cannot get exit status of PID %d", pid);
checkInterrupt(); checkInterrupt();
} }
} }