From e66dc14b3ad6210e1bfa398e5c8fbe266cbfdd36 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 17 Feb 2024 13:35:07 -0600 Subject: [PATCH] Formatting. --- src/core/os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/os.c b/src/core/os.c index dcd68a16..29bf99f3 100644 --- a/src/core/os.c +++ b/src/core/os.c @@ -505,7 +505,7 @@ static int proc_get_status(JanetProc *proc) { status = WEXITSTATUS(status); } else if (WIFSTOPPED(status)) { status = WSTOPSIG(status) + 128; - } else if (WIFSIGNALED(status)){ + } else if (WIFSIGNALED(status)) { status = WTERMSIG(status) + 128; } else { /* Could possibly return -1 but for now, just panic */