From 45e125443ad1472195ee911643d989c0e6a76266 Mon Sep 17 00:00:00 2001 From: cspenceiv Date: Tue, 16 Jun 2015 14:54:59 -0500 Subject: [PATCH] Fix swapUUID variable --- scripts/fog.create | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fog.create b/scripts/fog.create index 768b1a9..be614d1 100755 --- a/scripts/fog.create +++ b/scripts/fog.create @@ -116,7 +116,7 @@ function savePartitions() { elif [[ "$partFs" =~ ^ext[234]$ ]]; then runPartClone $partName extfs $partFile elif [ "$partFs" == "swap" ]; then - local swapUUID="blkid -s UUID ${partName} | cut -d\" -f2" + local swapUUID=`blkid -s UUID ${partName} | cut -d\" -f2` echo "$partName $swapUUID" >> $swapFile else echo "FATAL: Unsupported partition "$partFs" detected!"