Skip to content

Commit 02549fa

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

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sh/src/jobs.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,8 @@ impl JobManager {
163163
job.state = JobState::Stopped;
164164
job.state_should_be_reported = true;
165165
}
166-
_ => {
167-
todo!()
168-
}
166+
// no other results possible without specifying flags in waitpid
167+
_ => unreachable!(),
169168
}
170169
}
171170
Ok(())

0 commit comments

Comments
 (0)