Skip to content

Commit

Permalink
don't check status of the process
Browse files Browse the repository at this point in the history
it returns always an error code, if the qemu-exit device is used
  • Loading branch information
stlankes committed Feb 14, 2025
1 parent 9203fdd commit bda3983
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,7 @@ fn init_stage_child(args: SetupArgs) -> isize {
if let Some(tap_fd) = tap_fd {
cmd.preserved_fds(vec![tap_fd]);
}
let status = cmd.status().unwrap();
assert!(status.success());
let _status = cmd.status().unwrap();

if let Some(mut child) = child {
child.wait().unwrap();
Expand Down

0 comments on commit bda3983

Please sign in to comment.