Skip to content

Commit

Permalink
chore(cmd::run_nspawn): fn -> ExitStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
2moe committed Feb 18, 2024
1 parent e48b329 commit 64e5fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/get-ctr/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub(crate) fn run_nspawn<S: AsRef<OsStr>, R: AsRef<OsStr>>(
rootfs_dir: R,
sh_cmd: S,
exit_if_failure: bool,
) {
) -> ExitStatus {
#[allow(unused_variables)]
let osstr = OsStr::new;

Expand All @@ -215,7 +215,7 @@ pub(crate) fn run_nspawn<S: AsRef<OsStr>, R: AsRef<OsStr>>(
sh_cmd.as_ref(),
],
exit_if_failure,
);
)
}

#[cfg(test)]
Expand Down

0 comments on commit 64e5fd4

Please sign in to comment.