Skip to content

Commit

Permalink
Fix handling of closed stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmitti committed Nov 1, 2023
1 parent df18645 commit 5717f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StdAppUnix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ C4AppHandleResult CStdApp::HandleMessage(const unsigned int timeout, const bool
#endif

#ifdef USE_CONSOLE
if (fds[2].revents & POLLIN)
if (fds[2].revents)
{
if (!ReadStdInCommand())
{
Expand Down

0 comments on commit 5717f44

Please sign in to comment.