~修复TG-BOT因守护进程错乱导致的各种bug

This commit is contained in:
juewuy
2026-02-10 19:56:38 +08:00
parent 7f73133657
commit 3b578c7988
2 changed files with 2 additions and 2 deletions

View File

@@ -183,7 +183,8 @@ set_bot_tg_service(){
. "$CRASHDIR"/menus/bot_tg_service.sh && bot_tg_stop
else
bot_tg_service=ON
[ -n "$(pidof CrashCore)" ] && . "$CRASHDIR"/menus/bot_tg_service.sh && bot_tg_start
[ -n "$(pidof CrashCore)" ] && . "$CRASHDIR"/menus/bot_tg_service.sh &&
bot_tg_start && bot_tg_cron
fi
setconfig bot_tg_service "$bot_tg_service"
}