From b3312002a5d96cd486156a711d3c1861c150b7c6 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 4 Oct 2020 13:22:23 -0400 Subject: parse: Fail if -color is passed and the colors couldn't be parsed --- ctx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ctx.c') diff --git a/ctx.c b/ctx.c index cf47bc4..6146b3c 100644 --- a/ctx.c +++ b/ctx.c @@ -48,6 +48,7 @@ struct bfs_ctx *bfs_ctx_new(void) { ctx->xargs_safe = false; ctx->colors = NULL; + ctx->colors_error = 0; ctx->cout = NULL; ctx->cerr = NULL; -- cgit v1.2.3