summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-08-14 21:00:46 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-08-20 16:41:51 +0100
commitc7c833c6172626ec216e9ecd650ff1fe975cc850 (patch)
tree6d97212ea9c3886b79c8cb4e03e79139fe22026c
parent10c50704c1efb095f3b35de3a535f4ea311cb3e5 (diff)
Expansions: more debug verbosity in expansion conditions
-rw-r--r--src/src/expand.c2
1 files changed, 2 insertions, 0 deletions
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;
}