Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Fix display of exit status error
Browse files Browse the repository at this point in the history
  • Loading branch information
r-darwish committed Nov 7, 2018
1 parent 3415750 commit 26cc590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::str;

#[derive(Debug, Fail)]
enum ProcessError {
#[fail(display = "Bad exit code: {}", _0)]
#[fail(display = "{}", _0)]
BadExitCode(ExitStatus),

#[fail(display = "Process output isn't valid UTF-8")]
Expand Down

0 comments on commit 26cc590

Please sign in to comment.