Skip to content

Commit

Permalink
Don't fallback to the now deprecated method call when calling exit_code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoertink committed Sep 23, 2024
1 parent 8c52878 commit e45fe09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/process/status.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e45fe09

Please sign in to comment.