From de842d913aba2f4e93db25953563ed0e9055ce41 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 17 Nov 2004 23:51:02 +0000 Subject: Document exit code, pointed out by Paul de Weerd. --- bin/df/df.1 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/bin/df/df.1 b/bin/df/df.1 index e5ab15895b2..310236db016 100644 --- a/bin/df/df.1 +++ b/bin/df/df.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: df.1,v 1.33 2004/01/05 20:36:19 jmc Exp $ +.\" $OpenBSD: df.1,v 1.34 2004/11/17 23:51:01 millert Exp $ .\" $NetBSD: df.1,v 1.12 1995/12/05 02:42:45 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -129,6 +129,17 @@ Output, in a strict format suitable for portable scripts, disk space statistics for the .Pa /usr file system using kilobyte block sizes. +.Sh DIAGNOSTICS +The +.Nm +utility exits with one of the following values: +.Pp +.Bl -tag -width flag +.It Li 0 +Successful completion. +.It Li \*(Gt0 +An error occurred. +.El .Sh SEE ALSO .Xr quota 1 , .Xr fstatfs 2 , -- cgit v1.2.3