diff options
Diffstat (limited to 'src/lid.c')
-rw-r--r-- | src/lid.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -38,6 +38,7 @@ #include <pathmax.h> #include <error.h> +#include "closeout.h" #include "xnls.h" #include "idfile.h" #include "iduglobal.h" @@ -304,6 +305,8 @@ main (int argc, char **argv) textdomain (PACKAGE); #endif + atexit (close_stdout); + for (;;) { int optc = getopt_long (argc, argv, "f:F:a:k:R:S:ilrwsxdo", |