Update kvm.sh

This commit is contained in:
悟空的日常镜像仓库 2024-09-30 19:40:11 +08:00
parent ff9c37de9a
commit 155fac06f8
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ EOF
SCRIPT_PATH="/usr/trim/bin/show_startup_info.sh"
# 判断脚本是否存在
if [ ! -f "$SCRIPT_PATH" ]; then
exit 1
return 1
fi
HOST_NAME=$(hostname)
cp "$SCRIPT_PATH" "${SCRIPT_PATH}.bak"