1
0
Fork 0
mirror of https://github.com/YunoHost/package_check.git synced 2024-09-03 20:06:20 +02:00

lxc status changed from 'Running' to 'RUNNING' in lxc 4.20

This commit is contained in:
Alexandre Aubin 2021-11-24 19:52:00 +01:00
parent 1a766eaa64
commit 24aa67e1c5

View file

@ -195,7 +195,7 @@ _LXC_START_AND_WAIT() {
CLEAN_SWAPFILES() { CLEAN_SWAPFILES() {
# Restart it if needed # Restart it if needed
if [ "$(lxc info $LXC_NAME | grep Status | awk '{print $2}')" != "Running" ]; then if [ "$(lxc info $LXC_NAME | grep Status | awk '{print $2}')" != "RUNNING" ]; then
lxc start $LXC_NAME lxc start $LXC_NAME
_LXC_START_AND_WAIT $LXC_NAME _LXC_START_AND_WAIT $LXC_NAME
fi fi