summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_local-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_local-hooks')
-rwxr-xr-xhelpers/lh_chroot_local-hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_local-hooks b/helpers/lh_chroot_local-hooks
index f5fcceb..878becb 100755
--- a/helpers/lh_chroot_local-hooks
+++ b/helpers/lh_chroot_local-hooks
@@ -52,7 +52,7 @@ then
fi
# Executing hook
- Chroot chroot "/root/$(basename ${HOOK})"
+ Chroot chroot "/root/$(basename ${HOOK})" || ( Echo_error "${HOOK} failed (exit non-zero). You should check for errors."; exit 1 )
# Removing hook
rm -f chroot/root/"$(basename ${HOOK})"