浏览代码

Update update-lxcs.sh

tweak
tteckster 1 年之前
父节点
当前提交
1517bec1c3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      misc/update-lxcs.sh

+ 1 - 1
misc/update-lxcs.sh

@@ -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