mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 15:38:22 +00:00
Improve redbean ctrl-d handling
This commit is contained in:
parent
c39d6111f2
commit
0dca4c5799
1 changed files with 1 additions and 1 deletions
|
@ -6995,7 +6995,7 @@ static void ReplEventLoop(void) {
|
|||
linenoiseSetPollCallback(EventLoop);
|
||||
for (;;) {
|
||||
if ((status = lua_loadline(L)) == -1) {
|
||||
if (errno = EINTR) {
|
||||
if (errno == EINTR) {
|
||||
LockInc(&shared->c.pollinterrupts);
|
||||
if (terminated) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue