Moar boring debug stuff -_-²

This commit is contained in:
Alexandre Aubin 2023-02-07 01:28:00 +01:00
parent 6a8699873c
commit 252a3abea4

View file

@ -137,7 +137,7 @@ LXC_STOP () {
timeout 30 lxc stop --timeout 15 $container_to_stop --force 2>/dev/null timeout 30 lxc stop --timeout 15 $container_to_stop --force 2>/dev/null
elif [ $ret -ne 0 ]; then elif [ $ret -ne 0 ]; then
log_warning "Tried to stop lxc, got ret $ret" 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 fi
} }