Update update-lxcs.sh

tweak
pull/1909/head
tteckster 2023-10-08 12:07:56 -04:00 committed by GitHub
parent 3b4b021c9a
commit 1517bec1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ for container in $(pct list | awk '{if(NR>1) print $1}'); do
if pct exec "$container" -- [ -e "/var/run/reboot-required" ]; then
# Get the container's hostname and add it to the list
container_hostname=$(pct exec "$container" hostname)
containers_needing_reboot+=("$container - $container_hostname")
containers_needing_reboot+=("$container ($container_hostname)")
fi
fi
done