Commit 227c5600 by Michael Adam Committed by Serge Hallyn

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

parent a64da4c3
......@@ -573,7 +573,7 @@ configure_debian_systemd $path $rootfs
post_process ${rootfs} ${release} ${arch} ${hostarch} ${packages}
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