Spawn.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 09:43:55 +0000 (17:43 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 09:43:55 +0000 (17:43 +0800)
Spawn.vala

index 83577aa..c69e1d1 100644 (file)
@@ -387,7 +387,7 @@ public class Spawn : Object
      */
     private boolean read(IOChannel ch) 
     {
-        String prop = ch == this.out_ch ? 'output' : 'stderr';
+        String prop = (ch == this.out_ch) ? 'output' : 'stderr';
        // print("prop: " + prop);
         var _this = this;