summaryrefslogtreecommitdiff
path: root/src/true.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-07 14:47:44 +0000
committerJim Meyering <jim@meyering.net>2000-05-07 14:47:44 +0000
commit309c1c3e47655f610c3c169bc19de9d4a3fc92a1 (patch)
tree8fc186714d621260b653aefb5a4f8db51ada859a /src/true.c
parent72bdac727100dd893ad1041cb9a06b48fa211058 (diff)
downloadcoreutils-309c1c3e47655f610c3c169bc19de9d4a3fc92a1.tar.xz
Include "closeout.h".
(usage): Call close_stdout just before exit.
Diffstat (limited to 'src/true.c')
-rw-r--r--src/true.c2
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);
}