Skip to content

Commit

Permalink
Fix swapUUID variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cspenceiv committed Jun 16, 2015
1 parent 51692bf commit 45e1254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fog.create
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
Expand Down

0 comments on commit 45e1254

Please sign in to comment.