timeout(1): execvp(2) does not return except on error
authorsemarie <semarie@openbsd.org>
Thu, 2 Sep 2021 11:26:54 +0000 (11:26 +0000)
committersemarie <semarie@openbsd.org>
Thu, 2 Sep 2021 11:26:54 +0000 (11:26 +0000)
commite63639700c6908415a8b4c8be80c79dc9d282845
treeacd7580178a97a9d2d40e0527115e624c6a6d675
parentd373ec5f7908419c871e1250ec59cfbd5d8e5f94
timeout(1): execvp(2) does not return except on error

there is no need to check if the return value is -1. just
unconditionally call err(3).

ok deraadt@ schwarze@
usr.bin/timeout/timeout.c