X-Git-Url: https://wpitchoune.net/gitweb/?p=ptask.git;a=blobdiff_plain;f=src%2Ftw.c;h=89343a45ea8c67504dc1930f9b7059682f3993de;hp=602f7b375e572dfc29171dd0c2491db8a55d286d;hb=HEAD;hpb=9554c871e65ca5de672c4b8a6f5b7f561e3869e4 diff --git a/src/tw.c b/src/tw.c index 602f7b3..89343a4 100644 --- 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; }