make it actually write the partition

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-09-17 09:27:19 +02:00
parent 16d86dcf04
commit a3086ae795

View file

@ -11,7 +11,7 @@ fdisk_command() {
local cmd=$2
debug fdisk_command "running fdisk command '${cmd}' on device ${device}"
#echo -en "${cmd}\nw\n" | fdisk -c -u "$device"
echo -en "${cmd}\nw\n" | fdisk -c -u "$device"
return $?
}