浏览代码

Update pve8-upgrade.sh

remove -E option
tteckster 2 年之前
父节点
当前提交
ef46c15f67
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      misc/pve8-upgrade.sh

+ 1 - 1
misc/pve8-upgrade.sh

@@ -179,7 +179,7 @@ if ! command -v pveversion >/dev/null 2>&1; then
   exit
   exit
 fi
 fi
 
 
-if [ $(pveversion | grep -E "pve-manager/(7.4-13|7.4-14|7.4-15)" | wc -l) -ne 1 ]; then
+if [ $(pveversion | grep "pve-manager/(7.4-13|7.4-14|7.4-15)" | wc -l) -ne 1 ]; then
   header_info
   header_info
   msg_error "This version of Proxmox Virtual Environment is not supported"
   msg_error "This version of Proxmox Virtual Environment is not supported"
   echo -e "  PVE Version 7.4-13 or higher is required."
   echo -e "  PVE Version 7.4-13 or higher is required."