diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-09-17 13:01:11 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-09-17 13:01:11 +0200 |
commit | b92fba5ca891fa6a1f4f3a6f12789b87ccc1b484 (patch) | |
tree | aa0a30772828dd144744ae6df37aa7950f164547 /pwait.1 | |
parent | 86e7c446c64441e3d6831bd4d400c99525b9c9f6 (diff) | |
download | extrace-b92fba5ca891fa6a1f4f3a6f12789b87ccc1b484.tar.gz extrace-b92fba5ca891fa6a1f4f3a6f12789b87ccc1b484.tar.xz extrace-b92fba5ca891fa6a1f4f3a6f12789b87ccc1b484.zip |
pwait: verify pids exist at parse time
kill(pid, 0) will return ESRCH for nonexisting pids. (The other possible error, EPERM would indicate the pid exists.)
Diffstat (limited to 'pwait.1')
-rw-r--r-- | pwait.1 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pwait.1 b/pwait.1 index 6621b4f..9973747 100644 --- a/pwait.1 +++ b/pwait.1 @@ -1,4 +1,4 @@ -.Dd June 13, 2016 +.Dd September 17, 2018 .Dt PWAIT 1 .Os .Sh NAME @@ -22,6 +22,8 @@ Return 111 if any process exited non-successfully. .El .Sh EXIT STATUS .Ex -std +.Pp +Invalid pids elicit a warning message but are otherwise ignored. .Sh ERRORS Check these prerequisites if you see this error: .Bd -literal -offset Ds |