From c7c833c6172626ec216e9ecd650ff1fe975cc850 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 14 Aug 2016 21:00:46 +0100 Subject: [PATCH] Expansions: more debug verbosity in expansion conditions --- src/src/expand.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/src/expand.c b/src/src/expand.c index fd55436a2..0da210569 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -3050,6 +3050,8 @@ switch(cond_type) "value \"%s\"", t); return NULL; } + DEBUG(D_expand) debug_printf("%s: condition evaluated to %s\n", ourname, + boolvalue? "true":"false"); if (yield != NULL) *yield = (boolvalue == testfor); return s; } -- 2.30.2