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

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Michael Adam 2015-01-08 10:01:18 +01:00 committed by Serge Hallyn
parent 98d316e29a
commit 9aed78fad1

View File

@ -1415,7 +1415,7 @@ then
configure_fedora_init
fi
if [ ! -z $clean ]; then
if [ ! -z "$clean" ]; then
clean || exit 1
exit 0
fi