Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2009 18:43:26 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r196051 - stable/7/contrib/netcat
Message-ID:  <200908031843.n73IhQ3O093863@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Mon Aug  3 18:43:26 2009
New Revision: 196051
URL: http://svn.freebsd.org/changeset/base/196051

Log:
  MFC r193021:
  
  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

Modified:
  stable/7/contrib/netcat/   (props changed)
  stable/7/contrib/netcat/nc.1

Modified: stable/7/contrib/netcat/nc.1
==============================================================================
--- stable/7/contrib/netcat/nc.1	Mon Aug  3 09:58:46 2009	(r196050)
+++ stable/7/contrib/netcat/nc.1	Mon Aug  3 18:43:26 2009	(r196051)
@@ -433,6 +433,8 @@ The same example again, this time enabli
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908031843.n73IhQ3O093863>