diff --git a/install/proxmox/install-scrypted-proxmox.sh b/install/proxmox/install-scrypted-proxmox.sh index 5da865266e..0343296311 100644 --- a/install/proxmox/install-scrypted-proxmox.sh +++ b/install/proxmox/install-scrypted-proxmox.sh @@ -42,10 +42,15 @@ fi if [[ "$@" =~ "--force" ]] then - FORCE=true + IGNORE_EXISTING=true fi -if [ -z "$FORCE" ] +if [ -n "$SCRYPTED_RESTORE" ] +then + IGNORE_EXISTING=true +fi + +if [ -z "$IGNORE_EXISTING" ] then echo "Checking for existing container." pct config $VMID