From 9a044f1a6ad4ecfdfeff2f89e1685a1d622cb029 Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Sat, 19 Oct 2013 23:08:24 +0100
Subject: Use VERBOSE option in execstring()
---
Src/exec.c | 5 +++++
1 file changed, 5 insertions(+)
(limited to 'Src/exec.c')
diff --git a/Src/exec.c b/Src/exec.c
index e95cad300..d5fe69ec0 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -1027,6 +1027,11 @@ execstring(char *s, int dont_change_job, int exiting, char *context)
Eprog prog;
pushheap();
+ if (isset(VERBOSE)) {
+ zputs(s, stderr);
+ fputc('\n', stderr);
+ fflush(stderr);
+ }
if ((prog = parse_string(s, 0)))
execode(prog, dont_change_job, exiting, context);
popheap();
--
cgit 1.4.1