diff options
author | S-H-GAMELINKS <[email protected]> | 2021-08-31 20:30:35 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-09-05 23:01:27 +0900 |
commit | bdd6d8746f0a07b2c0cc3a6b387bf594569c0bb7 (patch) | |
tree | f11d32da65e227763d598d765765a76ddace1a0a /process.c | |
parent | 8f752c95d20134bcc0b5394f1cea723a40f1ac8c (diff) |
Replace RBOOL macro
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4791
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1025,7 +1025,7 @@ pst_success_p(VALUE st) if (!WIFEXITED(status)) return Qnil; - return WEXITSTATUS(status) == EXIT_SUCCESS ? Qtrue : Qfalse; + return RBOOL(WEXITSTATUS(status) == EXIT_SUCCESS); } |