]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: exit with error if rereading partition table fails
authorVictor Dodon <dodonvictor@gmail.com>
Thu, 21 Apr 2016 07:24:58 +0000 (00:24 -0700)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Jun 2016 09:24:25 +0000 (11:24 +0200)
commite0d30ef4c0a8baf5ad52f4ebce2ceef1944d711b
tree5d1cbd58761f82b328cc2dff81a5db2cc8660d73
parent5b7f8bbba13c6b2b26d14163569b35353ce9ceb9
sfdisk: exit with error if rereading partition table fails

Use the return value of fdisk_reread_partition_table in write_changes so that
sfdisk exits with error if re-reading the partition table fails.

Signed-off-by: Victor Dodon <dodonvictor@gmail.com>
disk-utils/sfdisk.c