summaryrefslogtreecommitdiff
path: root/bin/df/df.c
diff options
context:
space:
mode:
authorlum <lum@cvs.openbsd.org>2012-01-17 04:26:29 +0000
committerlum <lum@cvs.openbsd.org>2012-01-17 04:26:29 +0000
commit0e2a5bf0a1ca86e32e322a89f22961d8468ec051 (patch)
treec4dae96f6eb90f354cff13bbb26afa4ca080589f /bin/df/df.c
parente5b3ec034459c0dc78c856be84ad344c8908ad43 (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 'bin/df/df.c')
0 files changed, 0 insertions, 0 deletions