From db9c7f7e2a7bebd83de857029942ddb5497140ec Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Sat, 21 Jul 2018 17:39:19 +0200 Subject: [PATCH] recent version of libjson has remove is_error which was checking that the arg is NULL. --- src/tw.c | 3 --- 1 file changed, 3 deletions(-) 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; } -- 2.7.4