summaryrefslogtreecommitdiffstats
path: root/sbin/md5/md5.1
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2003-11-02 23:12:08 +0000
committerse <se@FreeBSD.org>2003-11-02 23:12:08 +0000
commit7c072fe20ea68fd4acd0ea5c656690529b57a7ea (patch)
treea0f58a3357cf1ce792edbc96da4eac1889f8aab5 /sbin/md5/md5.1
parentf2e8aed3e6e18aef3f6cee2602985b43ab4a14c3 (diff)
downloadFreeBSD-src-7c072fe20ea68fd4acd0ea5c656690529b57a7ea.zip
FreeBSD-src-7c072fe20ea68fd4acd0ea5c656690529b57a7ea.tar.gz
Set exit code to 1 in case at least one of the input files
could not be opened.
Diffstat (limited to 'sbin/md5/md5.1')
-rw-r--r--sbin/md5/md5.14
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/md5/md5.1 b/sbin/md5/md5.1
index 2d5e8b0..de7b902 100644
--- a/sbin/md5/md5.1
+++ b/sbin/md5/md5.1
@@ -67,6 +67,10 @@ Run a built-in time trial.
.It Fl x
Run a built-in test script.
.El
+.Sh DIAGNOSTICS
+The
+.Nm
+program exits 0 on success, and 1 if at least one of the input files could not be read.
.Sh SEE ALSO
.Xr cksum 1
.Rs
OpenPOWER on IntegriCloud