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/tty.c | |
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/tty.c')
-rw-r--r-- | src/tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,5 +124,5 @@ main (int argc, char **argv) puts (_("not a tty")); } - exit (isatty (STDIN_FILENO) ? EXIT_SUCCESS : EXIT_FAIL); + exit (isatty (STDIN_FILENO) ? EXIT_SUCCESS : EXIT_FAILURE); } |