Update vaultwarden-install.sh

This commit is contained in:
tschettervictor
2024-09-14 15:11:25 -06:00
committed by GitHub
parent 3dea76b50b
commit 36cd8177a0

View File

@@ -12,7 +12,7 @@ if ! [ $(id -u) = 0 ]; then
fi
# Check for Reinstall
if [ "$(ls -A "/usr/local/www/vaultwarden/data")" ]; then
if [ "$(ls -A "/usr/local/www/vaultwarden/data" 2>/dev/null)" ]; then
echo "Existing Vaultwarden data detected..."
REINSTALL="true"
fi