diff --git a/src/process/status.cr b/src/process/status.cr index 46d1ed342ee8..8452b7c27459 100644 --- a/src/process/status.cr +++ b/src/process/status.cr @@ -212,7 +212,7 @@ class Process::Status # define __WEXITSTATUS(status) (((status) & 0xff00) >> 8) (@exit_status & 0xff00) >> 8 {% else %} - exit_status + @exit_status.to_i32! {% end %} end