summaryrefslogtreecommitdiffstats
path: root/buildtool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtool.cpp')
-rw-r--r--buildtool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtool.cpp b/buildtool.cpp
index 2556cd837..b14cfcfb6 100644
--- a/buildtool.cpp
+++ b/buildtool.cpp
@@ -6393,7 +6393,7 @@ public:
error("problem compiling: %s", errString.c_str());
errorOccurred = true;
}
- if (errorOccurred || !continueOnError)
+ if (errorOccurred && !continueOnError)
break;
}