diff options
author | lum <lum@cvs.openbsd.org> | 2012-01-17 04:26:29 +0000 |
---|---|---|
committer | lum <lum@cvs.openbsd.org> | 2012-01-17 04:26:29 +0000 |
commit | 0e2a5bf0a1ca86e32e322a89f22961d8468ec051 (patch) | |
tree | c4dae96f6eb90f354cff13bbb26afa4ca080589f /usr.bin/pkill | |
parent | e5b3ec034459c0dc78c856be84ad344c8908ad43 (diff) |
Change the exit value on errors to be more 4.4BSD like. Use the sum of
errors up to a maximum of 127, then to do not increment anymore,
though programme execution continues.
Use 127 as a maximum because error codes above this are:
1. bad because of signed bugs in programs.
2. used as the traditional shell $? representation of "kill by signal"
where $? = 128 + signal.
(from deraadt@ and guenther@ respectively)
Diffstat (limited to 'usr.bin/pkill')
0 files changed, 0 insertions, 0 deletions