Add diskdump support in the helper (part 1)
[snf-image] / snf-image-helper / tasks / 80UmountImage.in
index 2467929..fde3e27 100644 (file)
@@ -5,16 +5,16 @@
 # RunBefore:
 # RunAfter:            MountImage
 # Short-Description:   Umount the partition that hosts the image
-### END TAST INFO
+### END TASK INFO
 
 set -e
-. @commondir@/common.sh
+. "@commondir@/common.sh"
 
 if [ ! -d "$SNF_IMAGE_TARGET" ]; then
        log_error "Target dir:\`$SNF_IMAGE_TARGET' is missing"
 fi
 
-umount $SNF_IMAGE_TARGET
+umount "$SNF_IMAGE_TARGET"
 
 cleanup
 trap - EXIT