Explorar o código

Update vaultwarden-v5.sh

fix for older installs
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
1c778f2c2b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ct/vaultwarden-v5.sh

+ 1 - 1
ct/vaultwarden-v5.sh

@@ -80,7 +80,7 @@ if command -v pveversion >/dev/null 2>&1; then
   fi
 fi
 if ! command -v pveversion >/dev/null 2>&1; then
-  if [[ ! -d /opt/vaultwarden ]]; then
+  if [[ ! -f /etc/systemd/system/vaultwarden.service ]]; then
     msg_error "No ${APP} Installation Found!";
     exit 
   fi