summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_hooks')
-rwxr-xr-xhelpers/lh_chroot_hooks2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_hooks b/helpers/lh_chroot_hooks
index 4884898..4821d46 100755
--- a/helpers/lh_chroot_hooks
+++ b/helpers/lh_chroot_hooks
@@ -54,7 +54,7 @@ do
fi
# Executing hook
- Chroot chroot "./root/${HOOK}"
+ Chroot chroot "./root/${HOOK}" || ( Echo_error "${HOOK} failed (exit non-zero). You should check for errors."; exit 1 )
# Removing hook
rm -f chroot/root/"${HOOK}"