diff options
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index 8c50874dc..fcdaee644 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -1250,7 +1250,7 @@ public: if (written < 0 && errno == EINTR) continue; if (written < 0) - return false; + return wrapped->InternalWriteError(); writebuffer.bufferstart += written; } |