Make -s accept HUP like kill(1) and GNU timeout(1) do
authorkn <kn@openbsd.org>
Sat, 2 Jul 2022 19:00:35 +0000 (19:00 +0000)
committerkn <kn@openbsd.org>
Sat, 2 Jul 2022 19:00:35 +0000 (19:00 +0000)
commit2a4adf00f260d32c40a6b3fc84380b6de6ef7a1e
treec1516fba7aa24dc8f1c743378f99e4b19041ce3c
parent68d643d101afaf58a2afb9388b43060922d2cedd
Make -s accept HUP like kill(1) and GNU timeout(1) do

timeout.c's parse_signal() basically does what kill.c's signame_to_num()
does, except it expects "SIG" in string signals.

Borrow the isalpha() check from kill.c to get the same behaviour.

OK deraadt
usr.bin/timeout/timeout.c