diff options
-rw-r--r-- | src/cli/run_command.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/run_command.zig b/src/cli/run_command.zig index 4613232de..86170965d 100644 --- a/src/cli/run_command.zig +++ b/src/cli/run_command.zig @@ -305,7 +305,7 @@ pub const RunCommand = struct { if (result.Exited > 0) { Output.prettyErrorln("<r><red>error<r> <b>\"{s}\"<r> exited with {d} status<r>", .{ std.fs.path.basename(executable), result.Exited }); Output.flush(); - std.os.exit(@truncate(u8, result.Signal)); + std.os.exit(result.Exited); } return true; |