recent version of libjson has remove is_error which was checking
[ptask.git] / src / tw.c
index 602f7b3..89343a4 100644 (file)
--- a/src/tw.c
+++ b/src/tw.c
@@ -163,9 +163,6 @@ static struct json_object *task_exec_json(const char *opts)
 
        free(cmd);
 
-       if (o && is_error(o))
-               return NULL;
-
        return o;
 }