From 7b95d5a6579e5870e8a1ef36c66ce5facc691beb Mon Sep 17 00:00:00 2001 From: schwarze Date: Sun, 5 Jan 2014 05:04:06 +0000 Subject: [PATCH] date(1) can only exit(0) or exit(1), not exit(2), so make this .Ex -std; obviouly, this was forgotten in rev. 1.57 when removing timed(8) support. ok jmc@ sobrado@ --- bin/date/date.1 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bin/date/date.1 b/bin/date/date.1 index 47756525862..10eec1f1cb2 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: date.1,v 1.60 2014/01/03 15:52:04 jmc Exp $ +.\" $OpenBSD: date.1,v 1.61 2014/01/05 05:04:06 schwarze Exp $ .\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)date.1 8.3 (Berkeley) 4/28/95 .\" -.Dd $Mdocdate: January 3 2014 $ +.Dd $Mdocdate: January 5 2014 $ .Dt DATE 1 .Os .Sh NAME @@ -185,10 +185,7 @@ record of date resets and time changes record of the user setting the time .El .Sh EXIT STATUS -The -.Nm -utility exits 0 on success, 1 if unable to set the date, -and 2 if able to set the local date, but unable to set it globally. +.Ex -std .Sh EXAMPLES Display the date using the specified format string: .Bd -literal -offset indent -- 2.20.1