[lvm-devel] [PATCH] man page clarification - Bug 1372089

Brassow Jonathan jbrassow at redhat.com
Tue Sep 6 14:36:05 UTC 2016


Make sure that people know that non-zero exit codes cannot be relied on
for specific meaning in LVM.  (https://bugzilla.redhat.com/1372089)

Index: Work/lvm2/man/lvm.8.in
===================================================================
--- Work.orig/lvm2/man/lvm.8.in
+++ Work/lvm2/man/lvm.8.in
@@ -744,6 +744,8 @@ without % suffix), string.
 .SH DIAGNOSTICS
 .
 All tools return a status code of zero on success or non-zero on failure.
+Non-zero exit codes may change and should not be assumed to imply specific
+errors.
 .
 .SH ENVIRONMENT VARIABLES
 .




More information about the lvm-devel mailing list