make it actually write the partition
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
16d86dcf04
commit
a3086ae795
1 changed files with 1 additions and 1 deletions
|
@ -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 $?
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue