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

index 3bc3d1a..a81920a 100644 (file)
@@ -131,7 +131,7 @@ public class Spawn : Object
      
     
         this.cfg.cwd =  this.cfg.cwd.length  < 1 ? GLib.Environment.get_home_dir() : this.cfg.cwd;
-        if (!this.cfg.args.length < 0) {
+        if (this.cfg.args.length < 0) {
             throw new Error("No arguments");
         }
         this.run();