Fix sfdisk partition table restore.

This commit is contained in:
Captain ALM 2024-09-02 16:20:09 +01:00
parent 7f2ed096d2
commit 0d7c185edc
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -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;