Commit c4834f3c by Michael Adam Committed by Serge Hallyn

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

parent fe9d4df4
......@@ -483,7 +483,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