Browse Source

Update syno_hdd_db.sh

- Minor bug fix
pull/70/head
Dave Russell 3 years ago
committed by GitHub
parent
commit
e1531392d1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      syno_hdd_db.sh

6
syno_hdd_db.sh

@ -149,7 +149,7 @@
# Optionally disable "support_disk_compatibility". # Optionally disable "support_disk_compatibility".
scriptver="v2.2.44" scriptver="v2.2.45"
script=Synology_HDD_db script=Synology_HDD_db
repo="007revad/Synology_HDD_db" repo="007revad/Synology_HDD_db"
@ -478,8 +478,8 @@ if [[ $restore == "yes" ]]; then
done done
# Delete any .dbr and .db.newr files left by previous script versions # Delete any .dbr and .db.newr files left by previous script versions
for f in "${dbpath}"*dbr; do rm "$f"; done for f in "${dbpath}"*dbr; do rm "$f" >/dev/null; done
for f in "${dbpath}"*db.newr; do rm "$f"; done for f in "${dbpath}"*db.newr; do rm "$f">/dev/null; done
# Update .db files from Synology # Update .db files from Synology
syno_disk_db_update --update syno_disk_db_update --update

Loading…
Cancel
Save