Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0b1c796420610f015... Commit: 0b1c796420610f015f65530ab68ade6d8119487d Parent: c1862ea84cdcbb72f4c30a81a7643f39f851e96d Author: Heinz Mauelshagen heinzm@redhat.com AuthorDate: Thu Nov 10 17:03:04 2016 +0100 Committer: Heinz Mauelshagen heinzm@redhat.com CommitterDate: Thu Nov 10 17:03:04 2016 +0100
dmsetup: return 0 for [--]{version,help}
dmsetup regressed returning 1 when properly processing version or help subcommands.
Resolves: rhbz1393692 --- tools/dmsetup.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/dmsetup.c b/tools/dmsetup.c index 4b525e2..371c0f8 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -6852,6 +6852,7 @@ doit: } } while (--_count);
+ ret = 0; out: if (_report) dm_report_free(_report);
lvm2-commits@lists.fedorahosted.org