aboutsummaryrefslogtreecommitdiff
path: root/exec.cc
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-27 16:58:36 +0900
committerShinichiro Hamaji <shinichiro.hamaji@gmail.com>2015-06-29 12:26:47 +0900
commit64cd806d57dfdc9d2b848f47aa583a872a7c6dcb (patch)
tree916f11700f297278f3815e3b6631d4c0123d7d9e /exec.cc
parente36dd56bebb7d364d9e2596458ff332d0a9a3411 (diff)
downloadkati-64cd806d57dfdc9d2b848f47aa583a872a7c6dcb.tar.gz
[C++] Fix -c flag and add -i flag
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) {