Update vaultwarden-v5.sh

fix for older installs
pull/930/head
tteckster 2 years ago committed by GitHub
parent 83252cbfa3
commit 5765b0c800
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -376,7 +376,12 @@ msg_ok "$WVRELEASE Update Successful"
exit;
fi
if [ "$UPD" == "3" ]; then
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
}

Loading…
Cancel
Save

Powered by BW's shoe-string budget.