修改-debug参数,自定义打印当前进度时间,默认100秒没进制就会输出。-debug 0时,有err时就会输出

This commit is contained in:
shadow1ng
2021-03-31 17:21:32 +08:00
parent f4b6ecc363
commit 6fae8bf277
3 changed files with 1 additions and 8 deletions
-6
View File
@@ -107,12 +107,6 @@ func ParseInput(Info *HostInfo) {
os.Exit(0)
}
if LogErr {
WaitTime = 10
} else {
WaitTime = 100
}
if TmpOutputfile != "" {
if !strings.Contains(Outputfile, "/") && !strings.Contains(Outputfile, `\`) {
Outputfile = getpath() + TmpOutputfile