aboutsummaryrefslogtreecommitdiff
path: root/exec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'exec.cc')
-rw-r--r--exec.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.cc b/exec.cc
index bc4497f..9e6b1ab 100644
--- a/exec.cc
+++ b/exec.cc
@@ -161,7 +161,7 @@ class Executor {
printf("%s\n", runner->cmd->c_str());
fflush(stdout);
}
- if (!g_is_syntax_check_only) {
+ if (!g_is_dry_run) {
int result = system(runner->cmd->c_str());
if (result != 0) {
if (runner->ignore_error) {