My personal project and infrastructure archive
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
diff --git a/src/tw.c b/src/tw.c
|
|
index 602f7b3..ca601cd 100644
|
|
--- a/src/tw.c
|
|
+++ b/src/tw.c
|
|
@@ -163,7 +163,7 @@ static struct json_object *task_exec_json(const char *opts)
|
|
|
|
free(cmd);
|
|
|
|
- if (o && is_error(o))
|
|
+ if (!o)
|
|
return NULL;
|
|
|
|
return o;
|
|
|