Skip to content

Commit 18339dc

Browse files
committed
sh: fix todo
1 parent c28410d commit 18339dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sh/src/shell/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,8 @@ impl Shell {
882882
output.truncate(new_len);
883883
Ok(output)
884884
}
885-
_ => todo!(),
885+
// no other results possible without specifying flags in waitpid
886+
_ => unreachable!(),
886887
}
887888
}
888889
}

0 commit comments

Comments
 (0)