projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c37f9d6
)
Spawn.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 2 May 2014 10:22:54 +0000
(18:22 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 2 May 2014 10:22:54 +0000
(18:22 +0800)
Spawn.vala
patch
|
blob
|
history
diff --git
a/Spawn.vala
b/Spawn.vala
index
b8d5f7e
..
3bc3d1a
100644
(file)
--- a/
Spawn.vala
+++ b/
Spawn.vala
@@
-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) {
+ if (!this.cfg.args.length
< 0
) {
throw new Error("No arguments");
}
this.run();