about summary refs log tree commit diff
path: root/src/download-via-ssh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-02-10T11·43-0500
committerShea Levy <shea@shealevy.com>2014-02-10T11·43-0500
commit78d979567fa304fa4445fe7403932d9d97183ebd (patch)
tree24956692655b3db5fc39aa4975493f7663150cfa /src/download-via-ssh
parent64e23d0a38f316a07cef0960d0ed74a450214283 (diff)
Clarify comment
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'src/download-via-ssh')
-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());