Skip to content

Commit

Permalink
fix: add exit to allow-all (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Feb 14, 2024
1 parent 4394318 commit 05419e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/wasi-virt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ fn main() -> Result<()> {
virt_opts.stdio().stderr(stderr);

// exit
virt_opts.exit(args.allow_exit.unwrap_or_default());
virt_opts.exit(args.allow_exit.unwrap_or(allow_all));

// env options
let env = virt_opts.env();
Expand Down

0 comments on commit 05419e6

Please sign in to comment.