diff options
author | Jim Meyering <jim@meyering.net> | 2000-05-07 14:41:19 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-05-07 14:41:19 +0000 |
commit | e1133c7a286f40a04a12da1be68728f388cc53b5 (patch) | |
tree | 4982b2a293d4a2f144bf18b85a0e837219898aeb /src | |
parent | 011b92f1c9e31b41b8db3e62e0b6b4f6b5535664 (diff) | |
download | coreutils-e1133c7a286f40a04a12da1be68728f388cc53b5.tar.xz |
Include "closeout.h".
(usage): Call close_stdout just before exit.
Diffstat (limited to 'src')
-rw-r--r-- | src/yes.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ #include "error.h" #include "system.h" #include "long-options.h" +#include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "yes" @@ -53,6 +54,7 @@ Repeatedly output a line with all specified STRING(s), or `y'.\n\ --version output version information and exit\n")); puts (_("\nReport bugs to <bug-sh-utils@gnu.org>.")); } + close_stdout (); exit (status); } |