summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}