From 3258e3286857687c0bbdd9d684fe87f7e61b9c4b Mon Sep 17 00:00:00 2001 From: Sonya Date: Wed, 12 Apr 2023 21:58:48 +0330 Subject: [PATCH] fixed syscall issue --- golang/scanner/scanner.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/golang/scanner/scanner.go b/golang/scanner/scanner.go index 7a15fbd5..b875dfd0 100644 --- a/golang/scanner/scanner.go +++ b/golang/scanner/scanner.go @@ -15,7 +15,6 @@ import ( "strconv" "strings" "sync" - "syscall" "time" ) @@ -80,7 +79,6 @@ func scanner(ip string, C config.Configuration, Worker config.Worker) *Result { } // using Wait for clean up zombie process after Kill func - process.Process.Signal(syscall.SIGCHLD) _, err := process.Process.Wait() if err != nil { log.Printf("%vERROR - %vFailed to wait for process to exit%v\n",