From bc3d30b4160fc79ed3965d08cd610398fe62e967 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 17 Dec 2022 09:41:27 -0500 Subject: [PATCH] Update container-restore-from-backup.sh check for PVE --- misc/container-restore-from-backup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/container-restore-from-backup.sh b/misc/container-restore-from-backup.sh index f1526ec5..bc0a6b52 100644 --- a/misc/container-restore-from-backup.sh +++ b/misc/container-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")