edwin/process.scm: transposo (like a typo but larger)
authorMatt Birkholz <puck@birchwood-abbey.net>
Fri, 5 Aug 2016 21:27:34 +0000 (14:27 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Sun, 7 Aug 2016 17:56:47 +0000 (10:56 -0700)
src/edwin/process.scm

index e2962afc3df5e28241fcdbbfc3d85610fcfd793a..4f5bbf6336f6018a5a51af6192f6edb1c57fe2b5 100644 (file)
@@ -235,9 +235,9 @@ Initialized from the SHELL environment variable."
   (let loop ((processes edwin-processes)
             (output? #f))
     (if (pair? processes)
-       (loop (or (poll-process-for-output (car processes))
-                 output?)
-             (cdr processes))
+       (loop (cdr processes)
+             (or (poll-process-for-output (car processes))
+                 output?))
        output?)))
 
 (define input-buffer (make-string 512))