diff --git a/misc/code-server.sh b/misc/code-server.sh index cb55416b..03285dcb 100644 --- a/misc/code-server.sh +++ b/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