diff --git a/crates/get-ctr/src/command.rs b/crates/get-ctr/src/command.rs index c260f6b..85a1ee0 100644 --- a/crates/get-ctr/src/command.rs +++ b/crates/get-ctr/src/command.rs @@ -197,7 +197,7 @@ pub(crate) fn run_nspawn, R: AsRef>( rootfs_dir: R, sh_cmd: S, exit_if_failure: bool, -) { +) -> ExitStatus { #[allow(unused_variables)] let osstr = OsStr::new; @@ -215,7 +215,7 @@ pub(crate) fn run_nspawn, R: AsRef>( sh_cmd.as_ref(), ], exit_if_failure, - ); + ) } #[cfg(test)]