about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/download-via-ssh/download-via-ssh.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/download-via-ssh/download-via-ssh.cc b/src/download-via-ssh/download-via-ssh.cc
index 7adb93e10dfe..003d7de2bf86 100644
--- a/src/download-via-ssh/download-via-ssh.cc
+++ b/src/download-via-ssh/download-via-ssh.cc
@@ -46,7 +46,8 @@ static pair<FdSink, FdSource> connect(string conn) {
             }
             _exit(1);
     }
-    // If child exits unexpectedly, we'll EPIPE. If we exit unexpectedly, child will
+    // If child exits unexpectedly, we'll EPIPE or EOF early.
+    // If we exit unexpectedly, child will EPIPE or EOF early.
     // So no need to keep track of it.
 
     return pair<FdSink, FdSource>(to.writeSide.borrow(), from.readSide.borrow());