diff options
author | Jim Meyering <jim@meyering.net> | 2007-08-29 00:13:16 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-08-29 00:14:23 +0200 |
commit | 35755454e45a6cbab4c711353131df483d89a979 (patch) | |
tree | d2bb8299b0d0678fadb121db71f8278eea680e82 /src/system.h | |
parent | adfc479d47cb0323b4dd4fa93ed9a5df6a93b7b8 (diff) | |
download | coreutils-35755454e45a6cbab4c711353131df483d89a979.tar.xz |
Use EXIT_FAILURE, not EXIT_FAIL, now that EXIT_FAILURE is always 1.
* src/system.h (EXIT_FAIL): Remove definition.
* src/chroot.c (main): EXIT_FAIL -> EXIT_FAILURE.
* src/env.c (main): Likewise.
* src/nice.c (main): Likewise.
* src/su.c (change_identity, main): Likewise.
* src/tty.c (main): Likewise.
Suggestion from Eric Blake.
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/system.h b/src/system.h index a0a4942b5..d840ed505 100644 --- a/src/system.h +++ b/src/system.h @@ -113,11 +113,9 @@ you must include <sys/types.h> before including this file #include <stdbool.h> #include <stdlib.h> -/* Exit statuses for programs like 'env' that exec other programs. - EXIT_FAILURE might not be 1, so use EXIT_FAIL in such programs. */ +/* Exit statuses for programs like 'env' that exec other programs. */ enum { - EXIT_FAIL = 1, EXIT_CANNOT_INVOKE = 126, EXIT_ENOENT = 127 }; |