Add EXIT STATUS section.

This commit is contained in:
jmmv 2003-01-19 19:15:38 +00:00
parent 65d34efcf9
commit fe7d4299f5
1 changed files with 6 additions and 2 deletions

View File

@ -30,9 +30,9 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" from: @(#)su.1 8.2 (Berkeley) 4/18/94 .\" from: @(#)su.1 8.2 (Berkeley) 4/18/94
.\" $NetBSD: su.1,v 1.25 2002/10/13 00:55:17 wiz Exp $ .\" $NetBSD: su.1,v 1.26 2003/01/19 19:15:38 jmmv Exp $
.\" .\"
.Dd March 7, 2001 .Dd January 19, 2003
.Dt SU 1 .Dt SU 1
.Os .Os
.Sh NAME .Sh NAME
@ -189,6 +189,10 @@ By default (unless the prompt is reset by a startup file) the super-user
prompt is set to prompt is set to
.Dq Sy \&# .Dq Sy \&#
to remind one of its awesome power. to remind one of its awesome power.
.Sh EXIT STATUS
.Nm
returns the exit status of the executed subshell, or 1 if any error
occurred while switching privileges.
.Sh ENVIRONMENT .Sh ENVIRONMENT
Environment variables used by Environment variables used by
.Nm "" : .Nm "" :