mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-01-31 15:53:10 +08:00
fix resume file path condition
This commit is contained in:
@@ -196,7 +196,7 @@ func main() {
|
|||||||
|
|
||||||
// Setup filename for graceful exits
|
// Setup filename for graceful exits
|
||||||
resumeFileName := types.DefaultResumeFilePath()
|
resumeFileName := types.DefaultResumeFilePath()
|
||||||
if options.Resume == "" {
|
if options.Resume != "" {
|
||||||
resumeFileName = options.Resume
|
resumeFileName = options.Resume
|
||||||
}
|
}
|
||||||
c := make(chan os.Signal, 1)
|
c := make(chan os.Signal, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user