Update vaultwarden-v5.sh

This commit is contained in:
tteckster 2023-01-05 14:26:56 -05:00 committed by GitHub
parent d9e02063ce
commit 9411a14f08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 cat /etc/vaultwarden.env | grep "ADMIN_TOKEN" 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