diff options
-rw-r--r-- | src/io/write.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/write.cpp b/src/io/write.cpp index 67002e2..71f05ae 100644 --- a/src/io/write.cpp +++ b/src/io/write.cpp @@ -40,7 +40,7 @@ namespace io { if (fd != -1) { - if (!close()) + if (close() == -1) abort(); } } |