perf: 统一错误输出

This commit is contained in:
ZacharyZcR
2024-12-21 17:21:41 +08:00
parent 497bc2e86b
commit 33cb33b1ad
7 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -105,6 +105,6 @@ func doWithTimeOut(info *Common.HostInfo, user string, pass string) (flag bool,
case <-signal:
return flag, err
case <-time.After(time.Duration(Common.Timeout) * time.Second):
return false, errors.New("[!] SMB连接超时")
return false, errors.New("[-] SMB连接超时")
}
}