]> 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)
committerPali Rohár <pali.rohar@gmail.com>
Tue, 6 Jul 2021 13:35:25 +0000 (15:35 +0200)
commitb948bbf991a2b019a94bba980b248a80a99f468f
tree0a0ab1aa5af700b975c866aa70de077d1c155235
parentc2ca2837a27a3f1344904037ea691bfdbb288f02
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