summaryrefslogtreecommitdiff
path: root/scripts/clang-format-diff.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/clang-format-diff.sh')
-rwxr-xr-xscripts/clang-format-diff.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/clang-format-diff.sh b/scripts/clang-format-diff.sh
index fa858b9ab..c1f1885b7 100755
--- a/scripts/clang-format-diff.sh
+++ b/scripts/clang-format-diff.sh
@@ -1,6 +1,7 @@
#!/bin/bash
set -o errexit
+set -o pipefail
# When we are running on travis and *not* part of a pull request we don't
# have any upstream branch to compare against.