From 0d7c185edc3b77444a31fba70609313aa79728b0 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Mon, 2 Sep 2024 16:20:09 +0100 Subject: [PATCH] Fix sfdisk partition table restore. --- backup-image/restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup-image/restore.sh b/backup-image/restore.sh index 0dd8176..e0653e7 100755 --- a/backup-image/restore.sh +++ b/backup-image/restore.sh @@ -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;