Skip to content

Commit

Permalink
Don't use error-wrapping directive
Browse files Browse the repository at this point in the history
  • Loading branch information
nakabonne committed Nov 1, 2020
1 parent fc8c4eb commit aeed60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (c *cli) run(args []string) int {
if c.list {
ps, err := process.FindAll()
if err != nil {
fmt.Fprintf(c.stderr, "failed to list processes: %w\n", err)
fmt.Fprintf(c.stderr, "failed to list processes: %v\n", err)
return 1
}
fmt.Fprintf(c.stderr, "%v", ps)
Expand Down

0 comments on commit aeed60f

Please sign in to comment.