Update pve6_to_pve7.sh

This commit is contained in:
spiritLHLS 2023-02-25 19:20:20 +08:00 committed by GitHub
parent 8815fa4fc9
commit 12628bfbe2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ if ! [ "$(pveversion -v)" = "$(pveversion -r)" ]; then
fi
# 检查 PVE 是否可以升级
if ! pve6to7 --check | grep -q "FAILURES: 0"; then
if ! pve6to7 | grep -q "FAILURES: 0"; then
_red "检测到 PVE 升级存在问题,请先解决问题后再执行升级"
exit 1
fi