Skip to content

Commit

Permalink
Merge pull request #418 from MortezaBashsiz/golang-v1.5-fix-syscall-i…
Browse files Browse the repository at this point in the history
…ssue

fixed syscall issue
  • Loading branch information
SonyaCore authored Apr 12, 2023
2 parents 4467f8a + 3258e32 commit 69dbd0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions golang/scanner/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"strconv"
"strings"
"sync"
"syscall"
"time"
)

Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 69dbd0e

Please sign in to comment.