From a6bcdbe13c25af3cf4bfd0849342fff5ffd75700 Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Wed, 7 Sep 2016 01:57:09 +0100 Subject: [PATCH] man: Additional info on exit statuses. --- man/lvm.8.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man/lvm.8.in b/man/lvm.8.in index da853494c..0db0ee40b 100644 --- a/man/lvm.8.in +++ b/man/lvm.8.in @@ -744,6 +744,11 @@ without % suffix), string. .SH DIAGNOSTICS . All tools return a status code of zero on success or non-zero on failure. +The non-zero codes distinguish only between the broad categories of +unrecognised commands, problems processing the command line arguments +and any other failures. As LVM remains under active development, the +code used in a specific case occasionally changes between releases. +Message text may also change. . .SH ENVIRONMENT VARIABLES .