From 289e30380165d6bf762373b1c36631df9266e071 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 12 Jan 2023 16:54:42 +0100 Subject: [PATCH] fix syntax error --- linux/evocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/evocheck.sh b/linux/evocheck.sh index c6ba027..88c7322 100755 --- a/linux/evocheck.sh +++ b/linux/evocheck.sh @@ -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