From e1531392d1db1a1bd3e0e997749131052ff5e3b1 Mon Sep 17 00:00:00 2001 From: Dave Russell <39733752+007revad@users.noreply.github.com> Date: Thu, 27 Apr 2023 17:20:08 +1000 Subject: [PATCH] Update syno_hdd_db.sh - Minor bug fix --- syno_hdd_db.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index 301bcc0..5269e67 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -149,7 +149,7 @@ # Optionally disable "support_disk_compatibility". -scriptver="v2.2.44" +scriptver="v2.2.45" script=Synology_HDD_db repo="007revad/Synology_HDD_db" @@ -478,8 +478,8 @@ if [[ $restore == "yes" ]]; then done # 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}"*db.newr; do rm "$f"; done + for f in "${dbpath}"*dbr; do rm "$f" >/dev/null; done + for f in "${dbpath}"*db.newr; do rm "$f">/dev/null; done # Update .db files from Synology syno_disk_db_update --update