Skip to content

Commit

Permalink
Fix for previous fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed May 28, 2023
1 parent 5e93b7b commit fd2a746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public int iread(int fd, unsigned char *buf, unsigned int len)
#endif
return (READ_ERR);
}
if (n > 0)
if (fd != tty && n > 0)
any_data = TRUE;
return (n);
}
Expand Down

0 comments on commit fd2a746

Please sign in to comment.