mirror of
https://github.com/tteck/Proxmox.git
synced 2026-10-05 10:22:58 +00:00
Update update-lxcs.sh
tweak
This commit is contained in:
1 parent
3b4b021c9a
commit
1517bec1c3
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user