summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-07 15:00:12 +0000
committerJim Meyering <jim@meyering.net>2000-05-07 15:00:12 +0000
commit661f74698e1dd439561d42dd0df0a801312f73b0 (patch)
treebdac6320a6c0a9384c1e4a72b191dd80902dbaa6 /src
parentc6b0fefde1f58793f2ac9e164c94197fcac230cf (diff)
downloadcoreutils-661f74698e1dd439561d42dd0df0a801312f73b0.tar.xz
Include "closeout.h".
(usage): Call close_stdout just before exit.
Diffstat (limited to 'src')
-rw-r--r--src/sleep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sleep.c b/src/sleep.c
index f5d436195..b00c9f771 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -36,6 +36,7 @@
#include "long-options.h"
#include "nanosleep.h"
#include "xstrtod.h"
+#include "closeout.h"
#if HAVE_FENV_H
# include <fenv.h>
@@ -80,6 +81,7 @@ point number.\n\
"),
program_name, program_name);
puts (_("\nReport bugs to <bug-sh-utils@gnu.org>."));
+ close_stdout ();
}
exit (status);
}