Merge pull request #384 from MankinChung/master

修复web_save无法覆盖保存重置的节点
This commit is contained in:
juewuy
2023-04-27 06:55:29 +08:00
committed by GitHub

View File

@@ -1030,6 +1030,8 @@ web_save(){
if [ -s /tmp/clash_web_save_$USER ];then
compare /tmp/clash_web_save_$USER $clashdir/web_save
[ "$?" = 0 ] && rm -rf /tmp/clash_web_save_$USER || mv -f /tmp/clash_web_save_$USER $clashdir/web_save
else
rm -rf $clashdir/web_save
fi
}
web_restore(){