Fix sfdisk partition table restore.
This commit is contained in:
parent
7f2ed096d2
commit
0d7c185edc
@ -25,7 +25,7 @@ if [ $? -ne 0 ]; then
|
||||
fi
|
||||
echo;
|
||||
echo "Restoring up partition table...";
|
||||
sfdisk -d "/dev/$2" < "/mnt/tabls/$1.tbl";
|
||||
sfdisk "/dev/$2" < "/mnt/tabls/$1.tbl";
|
||||
rm -rf /tmp/a;
|
||||
echo "Finished!";
|
||||
exit 0;
|
||||
|
Loading…
Reference in New Issue
Block a user