Update vaultwarden-v5.sh

This commit is contained in:
tteckster 2023-01-05 14:19:22 -05:00 committed by GitHub
parent 4336e42201
commit d9e02063ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ fi
if [ "$UPD" == "3" ]; then if [ "$UPD" == "3" ]; then
DIR=/usr/bin/vaultwarden DIR=/usr/bin/vaultwarden
if [ -d "$DIR" ]; then if [ -d "$DIR" ]; then
cat /usr/bin/vaultwarden/.env | grep "ADMIN_TOKEN" cat cat /etc/vaultwarden.env | grep "ADMIN_TOKEN"
else else
cat /opt/vaultwarden/.env | grep "ADMIN_TOKEN" cat /opt/vaultwarden/.env | grep "ADMIN_TOKEN"
fi fi