Skip to content

Commit

Permalink
fix unnecessary warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Jan 7, 2017
1 parent 3193523 commit 6b98434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func (p *debugCmd) openChromeDevTools(pod *v1.Pod, binaryFile string) error {
err = cmd.Wait()
if err != nil {
killCmd(cmd)
return fmt.Errorf("failed to wait for command %s %s: %v", filepath.Base(binaryFile), strings.Join(args, " "), err)
// ignore errors as we get an error if we kill it
}
return nil
}
Expand Down

0 comments on commit 6b98434

Please sign in to comment.