diff options
Diffstat (limited to 'src/touch.c')
-rw-r--r-- | src/touch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/touch.c b/src/touch.c index 5045790af..7d017a5b8 100644 --- a/src/touch.c +++ b/src/touch.c @@ -231,7 +231,6 @@ Note that the three time-date formats recognized for the -d and -t options\n\ and for the obsolescent argument are all different.\n\ ")); puts (_("\nReport bugs to <bug-fileutils@gnu.org>.")); - close_stdout (); } exit (status); } @@ -248,6 +247,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); + atexit (close_stdout); + change_times = no_create = use_ref = posix_date = flexible_date = 0; newtime = (time_t) -1; |