From a62a3b6e1f0d0a6660165e9e632d979d51a3bafc Mon Sep 17 00:00:00 2001 From: delphij Date: Fri, 29 May 2009 07:18:31 +0000 Subject: Add an EXIT STATUS section to the manual page. Currently, nc(1) does not follow sysexits(3), and returns 1 for all error cases. PR: docs/126451 --- contrib/netcat/nc.1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib/netcat') diff --git a/contrib/netcat/nc.1 b/contrib/netcat/nc.1 index cd3507b..9651874 100644 --- a/contrib/netcat/nc.1 +++ b/contrib/netcat/nc.1 @@ -445,6 +445,8 @@ The same example again, this time enabling proxy authentication with username if the proxy requires it: .Pp .Dl $ nc -x10.2.3.4:8080 -Xconnect -Pruser host.example.com 42 +.Sh EXIT STATUS +.Ex -std .Sh SEE ALSO .Xr cat 1 , .Xr ssh 1 , -- cgit v1.1