From 63527b3032503603be588f92bbe00d3d7472f782 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 7 Feb 2023 01:39:56 +0100 Subject: [PATCH] zzz typoz --- lib/lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lxc.sh b/lib/lxc.sh index 9d67d8b..1378883 100644 --- a/lib/lxc.sh +++ b/lib/lxc.sh @@ -130,7 +130,7 @@ LXC_STOP () { timeout 30 lxc stop --timeout 15 $container_to_stop 2>/dev/null local retry_stop_lxc=0 - while && [[ ${retry_stop_lxc} -lt 5 ]] + while [[ ${retry_stop_lxc} -lt 5 ]] do local status="$(lxc list $container_to_stop --format json | jq -r '.[].state.status')" if [[ -z "$status" ]] || [[ "$status" == "Stopped" ]]