aboutsummaryrefslogtreecommitdiff
path: root/Mk/Scripts/check_leftovers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Scripts/check_leftovers.sh')
-rw-r--r--Mk/Scripts/check_leftovers.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/Scripts/check_leftovers.sh b/Mk/Scripts/check_leftovers.sh
index 56203f9a73e9..8e757b63a6e1 100644
--- a/Mk/Scripts/check_leftovers.sh
+++ b/Mk/Scripts/check_leftovers.sh
@@ -23,6 +23,8 @@
# The PLIST_SUB feature can be disabled by setting PLIST_SUB_SED=
# in environment.
+set pipefail
+
[ -n "${DEBUG_MK_SCRIPTS}" -o -n "${DEBUG_MK_SCRIPTS_CHECK_LEFTOVERS}" ] && set -x
origin="$1"