diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-09-23 14:20:03 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-09-23 14:20:03 +0000 |
commit | dbab3c930e36a09bc566086545d193d3a172e8f5 (patch) | |
tree | 52104d26d6ad0db74b3c0b570a5ef4feda697ae4 | |
parent | 5a61e880d46d8c22b4bb07b7fa048a52d5df1017 (diff) |
use an EXIT STATUS section for these pages;
-rw-r--r-- | gnu/usr.sbin/sendmail/sendmail/mailq.8 | 6 | ||||
-rw-r--r-- | gnu/usr.sbin/sendmail/sendmail/newaliases.8 | 6 | ||||
-rw-r--r-- | gnu/usr.sbin/sendmail/sendmail/sendmail.8 | 60 |
3 files changed, 34 insertions, 38 deletions
diff --git a/gnu/usr.sbin/sendmail/sendmail/mailq.8 b/gnu/usr.sbin/sendmail/sendmail/mailq.8 index f6a1b1c8b74..3df0c12f3be 100644 --- a/gnu/usr.sbin/sendmail/sendmail/mailq.8 +++ b/gnu/usr.sbin/sendmail/sendmail/mailq.8 @@ -125,10 +125,8 @@ and unless a .Fl q option is used to limit the processed jobs. -.Pp -The -.Nm -utility exits 0 on success, and >0 if an error occurs. +.Sh EXIT STATUS +.Ex -std mailq .Sh SEE ALSO .Xr mailer.conf 5 , .Xr sendmail 8 diff --git a/gnu/usr.sbin/sendmail/sendmail/newaliases.8 b/gnu/usr.sbin/sendmail/sendmail/newaliases.8 index f0d53f31826..a1760dc594d 100644 --- a/gnu/usr.sbin/sendmail/sendmail/newaliases.8 +++ b/gnu/usr.sbin/sendmail/sendmail/newaliases.8 @@ -30,10 +30,6 @@ in order for the change to take effect. is identical to .Dq Li "sendmail -bi" . .Pp -The -.Nm -utility exits 0 on success, and >0 if an error occurs. -.Pp Notice: do .Em not use @@ -47,6 +43,8 @@ puts a special token into the data base that is required by .It Pa /etc/mail/aliases The mail aliases file .El +.Sh EXIT STATUS +.Ex -std newaliases .Sh SEE ALSO .Xr aliases 5 , .Xr mailer.conf 5 , diff --git a/gnu/usr.sbin/sendmail/sendmail/sendmail.8 b/gnu/usr.sbin/sendmail/sendmail/sendmail.8 index 2ab1ffb1bb7..e65c8e12ee0 100644 --- a/gnu/usr.sbin/sendmail/sendmail/sendmail.8 +++ b/gnu/usr.sbin/sendmail/sendmail/sendmail.8 @@ -576,36 +576,6 @@ would read .Pa /usr/local/lib/poets.list for the list of addresses making up the group. .Pp -.Nm -returns an exit status -describing what it did. -The codes are defined in -.Aq Pa sysexits.h : -.Pp -.Bl -tag -width EX_UNAVAILABLE -compact -offset indent -.It Dv EX_OK -Successful completion on all addresses. -.It Dv EX_NOUSER -User name not recognized. -.It Dv EX_UNAVAILABLE -Catchall meaning necessary resources -were not available. -.It Dv EX_SYNTAX -Syntax error in address. -.It Dv EX_SOFTWARE -Internal software error, -including bad arguments. -.It Dv EX_OSERR -Temporary operating system error, -such as -.Dq cannot fork . -.It Dv EX_NOHOST -Host name not recognized. -.It Dv EX_TEMPFAIL -Message could not be sent immediately, -but was queued. -.El -.Pp If invoked as .Nm newaliases , .Nm @@ -661,6 +631,36 @@ collected statistics .It Pa /var/spool/mqueue/* temp files .El +.Sh EXIT STATUS +.Nm +returns an exit status +describing what it did. +The codes are defined in +.Aq Pa sysexits.h : +.Pp +.Bl -tag -width EX_UNAVAILABLE -compact -offset indent +.It Dv EX_OK +Successful completion on all addresses. +.It Dv EX_NOUSER +User name not recognized. +.It Dv EX_UNAVAILABLE +Catchall meaning necessary resources +were not available. +.It Dv EX_SYNTAX +Syntax error in address. +.It Dv EX_SOFTWARE +Internal software error, +including bad arguments. +.It Dv EX_OSERR +Temporary operating system error, +such as +.Dq cannot fork . +.It Dv EX_NOHOST +Host name not recognized. +.It Dv EX_TEMPFAIL +Message could not be sent immediately, +but was queued. +.El .Sh SEE ALSO .Xr mail 1 , .Xr syslog 3 , |