From 914b78a58f5dc668bbe6106e366a3bb18813cfbb Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 8 Aug 2016 14:23:20 +0200 Subject: mhdr: set exit status to 1 when no header was found --- man/mhdr.1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'man/mhdr.1') diff --git a/man/mhdr.1 b/man/mhdr.1 index 48672fe..b7a064e 100644 --- a/man/mhdr.1 +++ b/man/mhdr.1 @@ -41,7 +41,11 @@ Scan for RFC 5322 addresses in the headers and print them line by line. Assume header contains RFC 5322 date and print as Unix timestamp. .El .Sh EXIT STATUS -.Ex -std +The +.Nm +utility exits 0 on success, +1 when no header was printed, +and >1 if an error occurs. .Sh SEE ALSO .Xr mmsg 7 .Rs -- cgit 1.4.1