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

Fix a bug in EnforcePersonality task

The task tried to run even if SNF_IMAGE_PERSONALITY
variable was empty, which led to error.
parent 9912db89
......@@ -35,6 +35,7 @@ fi
if [ -z "$SNF_IMAGE_PERSONALITY" ]; then
warn "This image has no personality (0 files to inject)"
exit 0
if [ "$SNF_IMAGE_PROPERTY_OSFAMILY" = "windows" ]; then
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