修改获取配置文件接口,初始化系统配置

This commit is contained in:
whyour committed 2024-01-18 13:51:06 +08:00
1 parent 1a94a660a5
commit 8283f62db2
9 files changed
+30 -21

No files matched your search

+3
View File
@@ -476,6 +476,9 @@ main() {
if [[ "$no_tee" == "true" ]]; then
cmd=">> $file_path 2>&1"
fi
if [[ "$real_time" == "true" ]]; then
cmd=""
fi
local time_format="%Y-%m-%d %H:%M:%S"
local time=$(date "+$time_format")