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/sort.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/sort.c')
-rw-r--r-- | src/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sort.c b/src/sort.c index 2d90724ee..631675924 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2183,8 +2183,8 @@ main (int argc, char **argv) atexit (cleanup); + exit_failure = SORT_FAILURE; atexit (close_stdout); - close_stdout_set_status (SORT_FAILURE); hard_LC_COLLATE = hard_locale (LC_COLLATE); #if HAVE_NL_LANGINFO |