From a0901b80837a61f3538a08882ecb35489167c844 Mon Sep 17 00:00:00 2001 From: juewuy Date: Tue, 27 Jan 2026 09:38:41 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/libs/web_save.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/libs/web_save.sh b/scripts/libs/web_save.sh index 23cecb35..e7a16f3f 100644 --- a/scripts/libs/web_save.sh +++ b/scripts/libs/web_save.sh @@ -26,7 +26,7 @@ web_save() { #最小化保存面板节点选择 . "$CRASHDIR"/libs/compare.sh && compare "$TMPDIR/$file" "$CRASHDIR/configs/$file" [ "$?" = 0 ] && rm -f "$TMPDIR/$file" || mv -f "$TMPDIR/$file" "$CRASHDIR/configs/$file" else - rm -f "$CRASHDIR/configs/$file" #空文件时移除旧文件 + > "$CRASHDIR/configs/$file" #空文件时移除旧文件 fi done }