Commit 4986f1c4 by Michael Adam Committed by Serge Hallyn

lxc-altlinux: protect possibly unset variable with quotes for -z check

parent 217535de
...@@ -478,7 +478,7 @@ if [ $? -ne 0 ]; then ...@@ -478,7 +478,7 @@ if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
if [ ! -z $clean ]; then if [ ! -z "$clean" ]; then
clean || exit 1 clean || exit 1
exit 0 exit 0
fi 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