修改初始化依赖安装逻辑

This commit is contained in:
whyour committed 2023-03-18 22:26:29 +08:00
1 parent 81e2bbb14c
commit 666545ff03
3 files changed
+13 -12

No files matched your search

+5 -1
View File
@@ -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 "