mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修复定时任务 task_after 命令无法停止
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user