mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修改初始化依赖安装逻辑
This commit is contained in:
+5
-1
@@ -61,7 +61,11 @@ handle_log_path() {
|
||||
|
||||
format_params() {
|
||||
time_format="%Y-%m-%d %H:%M:%S"
|
||||
mtime_format="%Y-%m-%d %H:%M:%S.%3N"
|
||||
if [[ $is_macos -eq 1 ]]; then
|
||||
mtime_format=$time_format
|
||||
else
|
||||
mtime_format="%Y-%m-%d %H:%M:%S.%3N"
|
||||
fi
|
||||
timeoutCmd=""
|
||||
if type timeout &>/dev/null; then
|
||||
timeoutCmd="timeout --foreground -s 14 -k 10s $command_timeout_time "
|
||||
|
||||
Reference in New Issue
Block a user