Skip to content

Commit

Permalink
Remove syscall (#1435)
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell authored Dec 9, 2023
1 parent 9186d0c commit 322a026
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions builtin/bins/dkron-executor-shell/shell_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"os/exec"
"strconv"
"strings"
"syscall"
"time"

"github.com/armon/circbuf"
Expand Down Expand Up @@ -73,7 +72,6 @@ func (s *Shell) ExecuteImpl(args *dktypes.ExecuteRequest, cb dkplugin.StatusHelp
if err != nil {
return nil, errors.New("shell: Error parsing job timeout")
}
cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
}

log.Printf("shell: going to run %s", command)
Expand Down

0 comments on commit 322a026

Please sign in to comment.