]> git.ipfire.org Git - thirdparty/util-linux.git/commit
partx: don't treat empty partition table as error
authorKarel Zak <kzak@redhat.com>
Thu, 8 Dec 2011 13:22:04 +0000 (14:22 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 8 Dec 2011 13:22:04 +0000 (14:22 +0100)
commit83ae4c2496faf6cbe478c9626616e51a7afed513
treee8f3482ccad6f52e77920be0781a93d4e769a030
parent8275b7326e535c6d745414baca680f03e9eccdf3
partx: don't treat empty partition table as error

Phillip wrote:
 If a partition table was detected, but it had no partitions
 in it, a poorly worded error message was printed and further
 action halted.  For partx -a, this gave an unnecessary error.

Reported-by: Phillip Susi <psusi@cfl.rr.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
partx/partx.c