From a328fb71cf798b7479e04900154868bd4788cdc3 Mon Sep 17 00:00:00 2001 From: 007revad <39733752+007revad@users.noreply.github.com> Date: Mon, 20 Jul 2026 15:41:32 +1000 Subject: [PATCH] v3.6.134 --- CHANGES.txt | 5 +++++ syno_hdd_db.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 83d29a9..464a0cc 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,8 @@ +v3.6.134 +- Bug for trying to backup M.2 PCIe card's .db.new when it didn't exist which caused the following error: + - **cp: cannot stat '': No such file or directory + - ERROR 5 Failed to backup !** + v3.6.133 - Bug fix for not updating db files with each drive's firmware version if drives were previously added to the db files without firmware version from an older script version. Issue #598 - Bug fix for restore mode not re-enabling drive database updates in DSM 7.3 and later. diff --git a/syno_hdd_db.sh b/syno_hdd_db.sh index 840a468..9a99850 100644 --- a/syno_hdd_db.sh +++ b/syno_hdd_db.sh @@ -1493,7 +1493,7 @@ getdbtype(){ backupdb(){ # Backup database file if needed local bakversion newversion fname - [[ -z "$1" || ! -f "$1" ]] || return 0 # Don't try to backup non-existent files + [[ -z "$1" || ! -f "$1" ]] && return 0 # Don't try to backup non-existent files if [[ $2 == "long" ]]; then fname="$1" else