mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 03:44:32 +00:00
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:
parent
98d316e29a
commit
9aed78fad1
@ -1415,7 +1415,7 @@ then
|
|||||||
configure_fedora_init
|
configure_fedora_init
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z $clean ]; then
|
if [ ! -z "$clean" ]; then
|
||||||
clean || exit 1
|
clean || exit 1
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user