Commit aaa0b3fd authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Fix SNF_IMAGE_DEV check in ResizeUnmounted task

parent 2bcea34f
......@@ -9,7 +9,7 @@
set -e
. /usr/share/snf-image/common.sh
if [ -z "$SNF_IMAGE_DEV" ]; then
if [ ! -b "$SNF_IMAGE_DEV" ]; then
log_error "Device file:\`$SNF_IMAGE_DEV\' is not a block device"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment