From 7f996e7724e90fdfd00c9a346c7dad4768470452 Mon Sep 17 00:00:00 2001 From: bryan Date: Mon, 28 Jul 2025 23:51:44 -0400 Subject: [PATCH] Silence commond debug warning --- openwrtbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrtbuilder b/openwrtbuilder index 9b6efba..f43448a 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -672,7 +672,7 @@ backup() { local file="$1" dir="$2" local creation_date base_name backup_file - [[ -f $file ]] || { debug "File not found: $file"; return 1; } + [[ -f $file ]] || return 1 [[ -d $dir ]] || execute mkdir -p "$dir" || { debug "Failed to create directory: $dir"; return 1; } if creation_date=$(stat -c %w "$file" 2>/dev/null || stat -c %y "$file" 2>/dev/null) && \