diff options
Diffstat (limited to 'src/true.c')
-rw-r--r-- | src/true.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/true.c b/src/true.c index 219f98c86..8a1c4f920 100644 --- a/src/true.c +++ b/src/true.c @@ -64,6 +64,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); + /* Note true(1) will return EXIT_FAILURE in the + edge case where writes fail with GNU specific options. */ atexit (close_stdout); if (STREQ (argv[1], "--help")) |