From 252a3abea4b079c268fd08743cbca8c317e197c0 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 7 Feb 2023 01:28:00 +0100 Subject: [PATCH] =?UTF-8?q?Moar=20boring=20debug=20stuff=20-=5F-=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lxc.sh b/lib/lxc.sh index 8e004a7..3379a49 100644 --- a/lib/lxc.sh +++ b/lib/lxc.sh @@ -137,7 +137,7 @@ LXC_STOP () { timeout 30 lxc stop --timeout 15 $container_to_stop --force 2>/dev/null elif [ $ret -ne 0 ]; then log_warning "Tried to stop lxc, got ret $ret" - lxc list $container_to_stop --format json | jq -r '.[].state.status' + log_warning $(lxc list $container_to_stop --format json | jq -r '.[].state.status') fi }