Parcourir la source

Update crowdsec.sh

tteckster il y a 2 ans
Parent
commit
901e26b8ac
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      misc/crowdsec.sh

+ 1 - 1
misc/crowdsec.sh

@@ -27,7 +27,7 @@ function error_exit() {
     echo -e "$flag $msg" 1>&2
     exit $EXIT
 }
-if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️  Can't Install on Proxmox "; fi
+if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️  Can't Install on Proxmox "; exit; fi
 while true; do
     read -p "This will Install ${APP} on $hostname. Proceed(y/n)?" yn
     case $yn in