file/file-5.04-man-return-code.patch
Jan Kaluza 6d3f070602 removed duplicated patterns for backups generated by "dump" tool
- recognize volume_key escrow packets
- mention exit code in manpage
- remove weak msdos patterns
2012-12-04 12:07:36 +01:00

17 lines
539 B
Diff

diff --git a/doc/file.man b/doc/file.man
index fff7730..3a524f5 100644
--- a/doc/file.man
+++ b/doc/file.man
@@ -542,6 +542,11 @@ program, and are not covered by the above license.
.Sh RETURN CODE
.Nm
returns 0 on success, and non-zero on error.
+.Pp
+If the file named by the file
+operand does not exist, cannot be read, or the type of the file named by
+the file operand cannot be determined, this is not be considered an error
+that affects the exit status.
.Sh BUGS
.Pp
Please report bugs and send patches to the bug tracker at