summaryrefslogtreecommitdiff
path: root/src/tee.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tee.c')
-rw-r--r--src/tee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tee.c b/src/tee.c
index 6fdd5f7e6..f89f298ee 100644
--- a/src/tee.c
+++ b/src/tee.c
@@ -148,7 +148,7 @@ main (int argc, char **argv)
errs = tee (argc - optind, (const char **) &argv[optind]);
if (close (STDIN_FILENO) != 0)
- error (1, errno, _("standard input"));
+ error (EXIT_FAILURE, errno, _("standard input"));
exit (errs);
}