mercurial/sshpeer.py
changeset 46671 fa30292b680b
parent 46663 a4c19a162615
child 46819 d4ba4d51f85f
--- a/mercurial/sshpeer.py	Thu Feb 25 09:59:23 2021 -0500
+++ b/mercurial/sshpeer.py	Thu Feb 25 10:00:08 2021 -0500
@@ -40,7 +40,7 @@
     """display all data currently available on pipe as remote output.
 
     This is non blocking."""
-    if pipe:
+    if pipe and not pipe.closed:
         s = procutil.readpipe(pipe)
         if s:
             display = ui.warn if warn else ui.status