From fe52d65af0fcfdc89b67442d4516449eec41d546 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 19 Jul 2003 08:16:38 +0000 Subject: Include "exitfail.h". (main): Set exit_failure rather than calling close_stdout_set_status. --- src/tty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tty.c') diff --git a/src/tty.c b/src/tty.c index a14315f58..555fe19cf 100644 --- a/src/tty.c +++ b/src/tty.c @@ -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; -- cgit v1.2.3-54-g00ecf