mvadkert / rpms / file

Forked from rpms/file 5 years ago
Clone
85d63d0
From bf25a22d163daee728f3075652b246ca1c32bd79 Mon Sep 17 00:00:00 2001
85d63d0
From: Jan Kaluza <jkaluza@redhat.com>
85d63d0
Date: Tue, 4 Dec 2012 12:07:36 +0100
85d63d0
Subject: [PATCH] file-5.04-man-return-code.patch
85d63d0
85d63d0
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
85d63d0
---
85d63d0
 doc/file.man | 5 +++++
85d63d0
 1 file changed, 5 insertions(+)
85d63d0
Jan Kaluza 6d3f070
diff --git a/doc/file.man b/doc/file.man
Jan Kaluza 6d3f070
index fff7730..3a524f5 100644
Jan Kaluza 6d3f070
--- a/doc/file.man
Jan Kaluza 6d3f070
+++ b/doc/file.man
37181d0
@@ -585,6 +585,11 @@ program, and are not covered by the above license.
Jan Kaluza 6d3f070
 .Sh RETURN CODE
Jan Kaluza 6d3f070
 .Nm
Jan Kaluza 6d3f070
 returns 0 on success, and non-zero on error.
Jan Kaluza 6d3f070
+.Pp
Jan Kaluza 6d3f070
+If the file named by the file
Jan Kaluza 6d3f070
+operand does not exist, cannot be read, or the type of the file named by
Jan Kaluza 6d3f070
+the file operand cannot be determined, this is not be considered an error
Jan Kaluza 6d3f070
+that affects the exit status.
Jan Kaluza 6d3f070
 .Sh BUGS
Jan Kaluza 6d3f070
 Please report bugs and send patches to the bug tracker at
37181d0
 .Pa http://bugs.gw.com/
85d63d0
-- 
85d63d0
2.5.5
85d63d0