From 98d5077d9d83172818cff1c50dd343b274affba1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 7 Nov 2008 14:46:51 +0000 Subject: add more error messages about fdisk --- draklive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draklive b/draklive index e625688..da6aec1 100755 --- a/draklive +++ b/draklive @@ -621,7 +621,7 @@ a 1 w EOF - close($fdisk) or die "unable to run fdisk\n"; + close($fdisk) or die "unable to run fdisk\n" . ($! ? "Error closing fdisk pipe: $!" : "Exit status $? from fdisk"); my ($part_start, $part_nb_sectors) = run_program::get_stdout("sfdisk -d $dest") =~ /start=\s*(\d+),\s*size=\s*(\d+)/; -- cgit v1.2.1