~修复clash基础内核启动失败的bug

~修复任务执行结果会重复发送的bug
This commit is contained in:
juewuy
2025-12-12 21:52:17 +08:00
parent b92fcf9de0
commit 68efa40094
2 changed files with 1 additions and 1 deletions

View File

@@ -161,7 +161,6 @@ logger(){
[ "$task_push" = 1 ] && push= || push=off
[ -n "$2" -a "$2" != 0 ] && echo -e "\033[$2m$1\033[0m"
[ "$3" = 'off' ] && push=off
echo "$1"
echo "$1" |grep -qE '(每隔|时每)([1-9]|[1-9][0-9])分钟' && push=off
${CRASHDIR}/start.sh logger "$1" 0 "$push"
}