mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-15 13:47:11 +08:00
修复 task 命令日志目录判断
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ handle_log_path() {
|
|||||||
log_dir="${log_dir_tmp%.*}${suffix}"
|
log_dir="${log_dir_tmp%.*}${suffix}"
|
||||||
log_path="$log_dir/$log_time.log"
|
log_path="$log_dir/$log_time.log"
|
||||||
|
|
||||||
if [[ $real_log_path != "${log_path}" ]]; then
|
if [[ $real_log_path ]]; then
|
||||||
log_path="$real_log_path"
|
log_path="$real_log_path"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user