修复定时任务 task_after 命令无法停止

This commit is contained in:
whyour
2023-10-12 00:45:49 +08:00
parent 99f6073c8e
commit b6376ed2e8
4 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ dir_shell=$QL_DIR/shell
trap "single_hanle" 2 3 20 15 14 19 1
single_hanle() {
eval handle_task_after "$@" "$cmd"
eval handle_task_end "$@" "$cmd"
exit 1
}