Commit b5a285ea by Michael Adam Committed by Serge Hallyn

lxc-opensuse: protect possibly unset variable with quotes in -z check

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