repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
rio: 0.0.36 -> 0.0.37
[NixPkgs.git]
/
pkgs
/
applications
/
misc
/
ptask
/
json_c_is_error.patch
blob
435c8b26e6f7e090ef9aba48ddb7d33ec0ed1090
1
diff --git a/src/tw.c b/src/tw.c
2
index 602f7b3..ca601cd 100644
3
--- a/src/tw.c
4
+++ b/src/tw.c
5
@@ -163,7 +163,7 @@ static struct json_object *task_exec_json(const char *opts)
6
7
free(cmd);
8
9
- if (o && is_error(o))
10
+ if (!o)
11
return NULL;
12
13
return o;