Fix incorrect error bubbling from non-Result statement

This commit is contained in:
Nathan Fisher 2024-01-15 00:52:43 -05:00
parent 2b078a8d70
commit 876d5fa87b

View File

@ -322,7 +322,7 @@ impl Listing {
match self.kind { match self.kind {
Kind::Normal(s) => print!("{s:>10} "), Kind::Normal(s) => print!("{s:>10} "),
_ => print!("{:>10}", "-"), _ => print!("{:>10}", "-"),
}?; }
match NaiveDateTime::from_timestamp_opt(self.mtime as i64, 0) { match NaiveDateTime::from_timestamp_opt(self.mtime as i64, 0) {
Some(dt) => print!("{dt} "), Some(dt) => print!("{dt} "),
_ => print!("{:>19} ", self.mtime), _ => print!("{:>19} ", self.mtime),