Commit a2780518 by Michael Adam Committed by Serge Hallyn

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

parent 2ae8252a
......@@ -887,7 +887,7 @@ fi
configure_centos_init
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