Skip to content

Commit 84b27f2

Browse files
committed
corrected CommandLine.c to reflect externalized variables from CRT.c
1 parent 3759832 commit 84b27f2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

CommandLine.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,9 +419,8 @@ int CommandLine_run(int argc, char** argv) {
419419

420420
CRT_done();
421421

422-
if (CRT_terminated()) {
423-
int sgn = CRT_getSignal();
424-
fprintf(stderr, "\nInterrupted by signal %d, terminating.\n", sgn);
422+
if (terminate_requested) {
423+
fprintf(stderr, "\nInterrupted by signal %d, terminating.\n", terminate_signal);
425424
exit(128 + sgn);
426425
}
427426

0 commit comments

Comments
 (0)