fix syntax error

This commit is contained in:
Jérémy Lecour 2023-01-12 16:54:42 +01:00 committed by Jérémy Lecour
parent be1e303040
commit 289e303801
1 changed files with 1 additions and 1 deletions

View File

@ -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