diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-19 08:16:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-19 08:16:38 +0000 |
commit | fe52d65af0fcfdc89b67442d4516449eec41d546 (patch) | |
tree | ac6527c5034bf3119da426440a7d086fd32ef507 /src/tty.c | |
parent | 3fd76bf433716652406a4e5669da1faf507214e1 (diff) | |
download | coreutils-fe52d65af0fcfdc89b67442d4516449eec41d546.tar.xz |
Include "exitfail.h".
(main): Set exit_failure rather than calling close_stdout_set_status.
Diffstat (limited to 'src/tty.c')
-rw-r--r-- | src/tty.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,6 +29,7 @@ #include "system.h" #include "closeout.h" +#include "exitfail.h" #include "error.h" /* The official name of this program (e.g., no `g' prefix). */ @@ -84,7 +85,7 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - close_stdout_set_status (3); + exit_failure = 3; atexit (close_stdout); silent = 0; |