From 1c3aeb0b5e5d04c8bfab063b05d8d7e28537ab03 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 9 Apr 2015 15:18:36 -0500 Subject: [PATCH] sfdisk: inverse test Signed-off-by: Robert Nelson --- mk_mmc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk_mmc.sh b/mk_mmc.sh index 008b39f..11772b0 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -846,7 +846,7 @@ unmount_all_drive_partitions () { sfdisk_partition_layout () { sfdisk_options="--force --Linux --in-order --unit M" test_sfdisk=$(LC_ALL=C sfdisk --help | grep -m 1 -e "--in-order" || true) - if [ ! "x${test_sfdisk}" = "x" ] ; then + if [ "x${test_sfdisk}" = "x" ] ; then echo "sfdisk: 2.26.x or greater" sfdisk_options="--force --Linux" conf_boot_startmb="${conf_boot_startmb}M"