Fix a minor bash variable expansion error
[snf-image] / snf-image-helper / tasks / 20FilesystemResizeUnmounted.in
index a474aa7..38d9360 100644 (file)
@@ -46,7 +46,7 @@ if [ -n "$SNF_IMAGE_PROPERTY_DO_SYNC" ]; then
 fi
 
 if [[ "$SNF_IMAGE_PROPERTY_OSFAMILY" =~ (net)|(open)bsd ]]; then
-    os=${SNF_IMAGE_PROPERTY_OSFAMILY^[bsd]}
+    os=${SNF_IMAGE_PROPERTY_OSFAMILY^^[bsd]}
     warn "File sytem resizing currently not supported for ${os^?}"
     exit 0
 fi