Commit 17b90409 by Michael Adam Committed by Stéphane Graber

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

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