From e45fe09a92e0ef91dbf300ff88826d6c7c7ef95d Mon Sep 17 00:00:00 2001 From: Jeremy Woertink Date: Mon, 23 Sep 2024 07:25:36 -0700 Subject: [PATCH] Don't fallback to the now deprecated method call when calling exit_code. --- src/process/status.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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