Skip to content

Commit 69dbd0e

Browse files
authored
Merge pull request #418 from MortezaBashsiz/golang-v1.5-fix-syscall-issue
fixed syscall issue
2 parents 4467f8a + 3258e32 commit 69dbd0e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

golang/scanner/scanner.go

-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
"strconv"
1616
"strings"
1717
"sync"
18-
"syscall"
1918
"time"
2019
)
2120

@@ -80,7 +79,6 @@ func scanner(ip string, C config.Configuration, Worker config.Worker) *Result {
8079
}
8180

8281
// using Wait for clean up zombie process after Kill func
83-
process.Process.Signal(syscall.SIGCHLD)
8482
_, err := process.Process.Wait()
8583
if err != nil {
8684
log.Printf("%vERROR - %vFailed to wait for process to exit%v\n",

0 commit comments

Comments
 (0)