forked from evolix/evocheck
fix syntax error
This commit is contained in:
parent
be1e303040
commit
289e303801
|
@ -1202,7 +1202,7 @@ check_lxc_container_resolv_conf() {
|
|||
check_no_lxc_container() {
|
||||
if is_installed lxc; then
|
||||
containers_count=$(lxc-ls | wc -l)
|
||||
if [ -z "$containers_count" -eq 0 ]; then
|
||||
if [ "$containers_count" -eq 0 ]; then
|
||||
failed "IS_NO_LXC_CONTAINER" "LXC is installed but have no container. Consider removing it."
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue