From debd2b3b3f342f9369e3b0ac4f8d29280eda73ed Mon Sep 17 00:00:00 2001 From: Gitea Date: Fri, 11 Dec 2020 07:28:34 -0600 Subject: [PATCH] Added exit values --- tee.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tee.1 b/tee.1 index 9187f9d..8878197 100644 --- a/tee.1 +++ b/tee.1 @@ -17,6 +17,17 @@ Append output to files, rather than clobbering existing files. .BR \-i Ignore SIGINT (^C). If you use this, use Ctrl-D (^D) to send an EOF in order to exit! +.SH EXIT STATUS +The following exit values are returned: +.TP +.BR 0 +The program successfully wrote all files. +.TP +.BR 1 +Could not open or create a file. +.TP +.BR 2 +Failed to write to one or more files. .SH AUTHOR Written by Kat. .SH COPYRIGHT