diff --git a/ct/vaultwarden-v5.sh b/ct/vaultwarden-v5.sh index c2695c4a..c16b0a8b 100644 --- a/ct/vaultwarden-v5.sh +++ b/ct/vaultwarden-v5.sh @@ -376,7 +376,12 @@ msg_ok "$WVRELEASE Update Successful" exit; fi if [ "$UPD" == "3" ]; then -cat /opt/vaultwarden/.env | grep "ADMIN_TOKEN" +DIR=/usr/bin/vaultwarden + if [ -d "$DIR" ]; then + cat /usr/bin/vaultwarden/.env | grep "ADMIN_TOKEN" + else + cat /opt/vaultwarden/.env | grep "ADMIN_TOKEN" + fi exit fi }