Spawn.vala
authorAlan Knowles <alan@roojs.com>
Mon, 29 Aug 2016 08:36:40 +0000 (16:36 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 29 Aug 2016 08:36:40 +0000 (16:36 +0800)
Spawn.vala

index a25c2da..b5df8c8 100644 (file)
@@ -427,7 +427,7 @@ public class Spawn : Object
         string prop = (ch == this.out_ch) ? "output" : "stderr";
        // print("prop: " + prop);
         if (this.pid < 0) {
-            return; // spawn complete + closed... can't read any more.
+            return false; // spawn complete + closed... can't read any more.
         }
         
         //print(JSON.stringify(ch, null,4));