diff options
author | Jim Meyering <jim@meyering.net> | 2000-05-07 15:00:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-05-07 15:00:12 +0000 |
commit | 661f74698e1dd439561d42dd0df0a801312f73b0 (patch) | |
tree | bdac6320a6c0a9384c1e4a72b191dd80902dbaa6 /src | |
parent | c6b0fefde1f58793f2ac9e164c94197fcac230cf (diff) | |
download | coreutils-661f74698e1dd439561d42dd0df0a801312f73b0.tar.xz |
Include "closeout.h".
(usage): Call close_stdout just before exit.
Diffstat (limited to 'src')
-rw-r--r-- | src/sleep.c | 2 |
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); } |