Skip to content

Commit 46887d5

Browse files
committed
gh-129900: Fix incorrect exit codes in the REPL
1 parent f7c7dec commit 46887d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ pymain_run_stdin(PyConfig *config)
563563
return (run != 0);
564564
}
565565
int run = pymain_run_module(L"_pyrepl", 0);
566-
return (run != 0);
566+
return run;
567567
}
568568

569569

0 commit comments

Comments
 (0)