Fix variable name in createtmplt.sh ($tmplfs -> $tmpltfs)

This commit is contained in:
butanet 2012-05-27 02:24:16 +09:00 committed by David Nalley
parent 003d628992
commit f5eefc0493
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ create_from_snapshot() {
$qemu_img convert -f qcow2 -O qcow2 -s "$snapshotName" "$tmpltImg" /$tmpltfs/$tmpltname >& /dev/null
if [ $? -gt 0 ]
then
printf "Failed to create template /$tmplfs/$tmpltname from snapshot $snapshotName on disk $tmpltImg "
printf "Failed to create template /$tmpltfs/$tmpltname from snapshot $snapshotName on disk $tmpltImg "
exit 2
fi