diff --git a/src/uu/seq/src/error.rs b/src/uu/seq/src/error.rs index ad6b5733a..4945914d1 100644 --- a/src/uu/seq/src/error.rs +++ b/src/uu/seq/src/error.rs @@ -72,10 +72,10 @@ impl Display for SeqError { f, "{}{}", self.argtype(), - if self.arg() != "" { - self.arg().quote().to_string() + if self.arg() == "" { + String::new() } else { - "".to_string() + self.arg().quote().to_string() } ) }