Skip to content

Commit

Permalink
use correct error wrapping directive
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz committed Sep 22, 2020
1 parent 0a719ff commit d83a825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var execCmd = &cobra.Command{
executable := args[0]
pathtoExec, err := exec.LookPath(executable)
if err != nil {
log.Fatalf("couldn't find the executable '%s': %w", pathtoExec, err)
log.Fatalf("couldn't find the executable '%s': %s", pathtoExec, err.Error())
}

log.Debugf("found executable %s", pathtoExec)
Expand Down

0 comments on commit d83a825

Please sign in to comment.