diff --git a/proxmenu-scripts.sh b/proxmenu-scripts.sh index b6d6c48..e56de0c 100755 --- a/proxmenu-scripts.sh +++ b/proxmenu-scripts.sh @@ -232,7 +232,7 @@ MAIN_MENU() { echo echo -e " [${idsCL[LightYellow]}1${idsCL[Default]}] ${idsCL[White]}Run Post-Install Script${idsCL[Default]}" - if [ ! pvesh get /cluster/resources | grep -i pulse ]; then + if [ ! $(pvesh get /cluster/resources | grep -i pulse) ]; then echo -e " [${idsCL[LightYellow]}2${idsCL[Default]}] ${idsCL[White]}Install Pulse Monitoring${idsCL[Default]}" else echo -e "${idsCL[DarkGray]} [2] Pulse Monitoring is already installed${idsCL[Default]}"