mirror of
https://github.com/chainreactors/spray.git
synced 2025-05-06 02:31:21 +00:00
修复cmd输入url时stat文件名不正确的bug
This commit is contained in:
parent
7b515b849f
commit
14e4512efd
@ -442,7 +442,7 @@ func (opt *Option) PrepareRunner() (*Runner, error) {
|
||||
} else if taskfrom == "stdin" {
|
||||
r.StatFile, err = files.NewFile("stdin.stat", false, true, true)
|
||||
} else if u != nil {
|
||||
r.StatFile, err = files.NewFile(u.Host, false, true, true)
|
||||
r.StatFile, err = files.NewFile(u.Host+".stat", false, true, true)
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user