diff options
Diffstat (limited to 'src/tee.c')
-rw-r--r-- | src/tee.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -23,6 +23,7 @@ #include "system.h" #include "argmatch.h" +#include "die.h" #include "error.h" #include "fadvise.h" #include "stdio--.h" @@ -170,7 +171,7 @@ main (int argc, char **argv) ok = tee_files (argc - optind, &argv[optind]); if (close (STDIN_FILENO) != 0) - error (EXIT_FAILURE, errno, "%s", _("standard input")); + die (EXIT_FAILURE, errno, "%s", _("standard input")); return ok ? EXIT_SUCCESS : EXIT_FAILURE; } |