File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,8 @@ int main(int argc, char **argv) {
346
346
)
347
347
){
348
348
if (n < 0 && !(Main_Args .options & RO_HALT )) {
349
- RL_Do_String (b_cast ("unless system/options/quiet [print {^[[mClosing in 3s!} wait 3] quit/return -1" ), 0 , 0 );
349
+ RL_Do_String (b_cast ("unless system/options/quiet [print {^[[mClosing in 3s!} wait 3]" ), 0 , 0 );
350
+ OS_Exit (- n );
350
351
}
351
352
Host_Repl ();
352
353
}
Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ rebol-cmd: func[cmd][
85
85
86
86
--test-- "Error printed to stderr"
87
87
;@@ https://github.com/Oldes/Rebol-issues/issues/1862
88
- --assert 0 <> rebol-cmd {--do "prin 1 1 / 0"} ; returned number is not same across all systems!
89
- --assert "1 " = out-buffer
88
+ --assert 1 = rebol-cmd {--do "prin 2 1 / 0"}
89
+ --assert "2 " = out-buffer
90
90
--assert not none? find err-buffer "Math error"
91
91
92
92
You can’t perform that action at this time.
0 commit comments