]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: do not print error message when partition reordering is not needed
authorPali Rohár <pali.rohar@gmail.com>
Tue, 6 Jul 2021 13:35:25 +0000 (15:35 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Jul 2021 09:57:13 +0000 (11:57 +0200)
commitd5012591611192195cd9af360f9e43e5037d081a
tree86e56b10c756a116cb3c6449cc234367a4eb550e
parentee3d6b0d4a61c3dbf68929db1b2e8ceda872fb58
fdisk: do not print error message when partition reordering is not needed

Option 'f' currently prints following RED error message:

    Nothing to do. Ordering is correct already.
    Failed to fix partitions order.

This change removes RED error message when ordering is already correct.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
disk-utils/fdisk-menu.c
libfdisk/src/dos.c
libfdisk/src/gpt.c