Skip to content

Commit

Permalink
fix: windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeldeib committed Jul 19, 2019
1 parent d3f8c0d commit af29855
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/plugins/execplugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"os"
"os/exec"
"strings"
"syscall"

"sigs.k8s.io/kustomize/v3/pkg/ifc"
"sigs.k8s.io/kustomize/v3/pkg/resid"
Expand Down Expand Up @@ -108,7 +107,7 @@ func (p *ExecPlugin) writeConfig() (string, error) {
if err != nil {
return "", err
}
syscall.Mkfifo(tmpFile.Name(), 0600)

stdout, err := os.OpenFile(tmpFile.Name(), os.O_RDWR, 0600)
if err != nil {
return "", err
Expand Down

0 comments on commit af29855

Please sign in to comment.