summaryrefslogtreecommitdiff
path: root/src/seq.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-05 21:51:02 +0000
committerJim Meyering <jim@meyering.net>2000-05-05 21:51:02 +0000
commitf2fde491db4582e3e2832b87001155e761b7db37 (patch)
treeefb7256a59b04087fbb0887d948dd5f9d261c855 /src/seq.c
parente1c98ab3fbc155e3e578d1b44e79b1e8466dc672 (diff)
downloadcoreutils-f2fde491db4582e3e2832b87001155e761b7db37.tar.xz
Include "closeout.h".
(main): Call close_stdout.
Diffstat (limited to 'src/seq.c')
-rw-r--r--src/seq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/seq.c b/src/seq.c
index c8242e030..def96ae81 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include "system.h"
+#include "closeout.h"
#include "error.h"
#include "xstrtol.h"
#include "xstrtod.h"
@@ -454,5 +455,7 @@ format string may not be specified when printing equal width strings"));
errs = print_numbers (format_str);
+ close_stdout ();
+
exit (errs);
}