summaryrefslogtreecommitdiff
path: root/tools/run-cppcheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run-cppcheck.sh')
-rwxr-xr-xtools/run-cppcheck.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/run-cppcheck.sh b/tools/run-cppcheck.sh
index 1f8ee7d..315eff4 100755
--- a/tools/run-cppcheck.sh
+++ b/tools/run-cppcheck.sh
@@ -14,6 +14,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+set -e
PROJ_ROOT=$(git rev-parse --show-toplevel)
cd $PROJ_ROOT