mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2026-01-02 18:58:17 +01:00
Update vaultwarden-install.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user