diff options
| author | Jim Meyering <jim@meyering.net> | 2000-05-07 14:47:44 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2000-05-07 14:47:44 +0000 |
| commit | 309c1c3e47655f610c3c169bc19de9d4a3fc92a1 (patch) | |
| tree | 8fc186714d621260b653aefb5a4f8db51ada859a /src/true.c | |
| parent | Include "closeout.h". (diff) | |
| download | coreutils-309c1c3e47655f610c3c169bc19de9d4a3fc92a1.tar.gz coreutils-309c1c3e47655f610c3c169bc19de9d4a3fc92a1.zip | |
Include "closeout.h".
(usage): Call close_stdout just before exit.
Diffstat (limited to 'src/true.c')
| -rw-r--r-- | src/true.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/true.c b/src/true.c index 1ea0d0d7a..d28bec34b 100644 --- a/src/true.c +++ b/src/true.c @@ -3,6 +3,7 @@ #include <sys/types.h> #include "system.h" #include "version-etc.h" +#include "closeout.h" #define PROGRAM_NAME "true" #define AUTHORS "no one" @@ -25,6 +26,7 @@ These option names may not be abbreviated.\n\ ") , program_name, program_name); puts (_("\nReport bugs to <bug-sh-utils@gnu.org>.")); + close_stdout (); exit (status); } |
