From 8772f72e3a23529cf61ebb2468393d8f28d4ef62 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 31 Aug 2016 11:01:03 +0200 Subject: [PATCH] Revert "sfdisk: exit with error if rereading partition table fails" This reverts commit e0d30ef4c0a8baf5ad52f4ebce2ceef1944d711b. It was mistake to applied this commit to the stable branch. It's already reverted in master branch too (see 78e7f78896f2c9cf1b2615c8c555a64dcd9d2642 for more details). Signed-off-by: Karel Zak --- disk-utils/sfdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk-utils/sfdisk.c b/disk-utils/sfdisk.c index f7afd9f44a..3f742d2703 100644 --- a/disk-utils/sfdisk.c +++ b/disk-utils/sfdisk.c @@ -534,7 +534,7 @@ static int write_changes(struct sfdisk *sf) rc = move_partition_data(sf, sf->partno, sf->orig_pa); if (!rc) { fdisk_info(sf->cxt, _("\nThe partition table has been altered.")); - rc = fdisk_reread_partition_table(sf->cxt); + fdisk_reread_partition_table(sf->cxt); } } if (!rc) -- 2.47.2