Skip to content

Commit 8180a2b

Browse files
committed
fix
1 parent 844bd31 commit 8180a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp-terminal/private/file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ std::string Term::Private::InputFileHandler::read() const
149149
}
150150
catch(const ErrnoException& exception)
151151
{
152-
if(exception.code() != 25 && exception.code() != 0) throw;
152+
if(exception.code() != 25 && exception.code() != 0 && exception.code() != 19) throw;
153153
}
154154
std::string ret(nread, '\0');
155155
if(nread != 0)

0 commit comments

Comments
 (0)