From 8666c740cb2d8906ed5cb863eb922b4dbdfbdab4 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Mon, 29 Dec 2025 15:15:52 +0800 Subject: [PATCH] workflow --- lib/core/file_ops.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/file_ops.sh b/lib/core/file_ops.sh index f3bf74a..b279ba6 100644 --- a/lib/core/file_ops.sh +++ b/lib/core/file_ops.sh @@ -100,7 +100,7 @@ safe_remove() { # Use || to capture the exit code so set -e won't abort on rm failures local error_msg local rm_exit=0 - error_msg=$(rm -rf "$path" 2>&1) || rm_exit=$? + error_msg=$(rm -rf "$path" 2>&1) || rm_exit=$? # safe_remove if [[ $rm_exit -eq 0 ]]; then return 0