From 4d10049d84ed551defe051707a5e5c33855b4869 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 6 Oct 2010 12:14:35 +1030 Subject: [PATCH] ccanlint: make sure we stop on failure of compulsory test. --- tools/ccanlint/ccanlint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ccanlint/ccanlint.c b/tools/ccanlint/ccanlint.c index 3b7dceb2..00d5363e 100644 --- a/tools/ccanlint/ccanlint.c +++ b/tools/ccanlint/ccanlint.c @@ -185,7 +185,7 @@ static bool run_test(struct ccanlint *i, d->dependent->skip_fail = true; } } - return good; + return !bad; } static void register_test(struct list_head *h, struct ccanlint *test, ...) -- 2.39.2