Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flagarde committed Oct 31, 2024
1 parent 844bd31 commit 8180a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp-terminal/private/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ std::string Term::Private::InputFileHandler::read() const
}
catch(const ErrnoException& exception)
{
if(exception.code() != 25 && exception.code() != 0) throw;
if(exception.code() != 25 && exception.code() != 0 && exception.code() != 19) throw;
}
std::string ret(nread, '\0');
if(nread != 0)
Expand Down

0 comments on commit 8180a2b

Please sign in to comment.