diff --git a/misc/core-restore-from-backup.sh b/misc/core-restore-from-backup.sh index afa664ee..6f65801b 100644 --- a/misc/core-restore-from-backup.sh +++ b/misc/core-restore-from-backup.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash clear +if command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Can't Run from the Proxmox Shell"; exit; fi YW=$(echo "\033[33m") BL=$(echo "\033[36m") RD=$(echo "\033[01;31m")