Explorar o código

Update code-server.sh

pve check
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
616dd24616
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      misc/code-server.sh

+ 1 - 0
misc/code-server.sh

@@ -40,6 +40,7 @@ function error_exit() {
 }
 clear
 header_info
+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