Skip to content

Commit

Permalink
fix(cmd/tracerunner): program path reuse
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Fontana <lo@linux.com>
  • Loading branch information
fntlnz committed Dec 24, 2018
1 parent 4108ab0 commit cee9fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/tracerunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (o *TraceRunnerOptions) Run() error {
}
}

c := exec.Command(o.bpftraceBinaryPath, o.programPath)
c := exec.Command(o.bpftraceBinaryPath, programPath)
c.Stdout = os.Stdout
c.Stdin = os.Stdin
c.Stderr = os.Stderr
Expand Down

0 comments on commit cee9fad

Please sign in to comment.