scripts: do not ignore errors inside on_chroot calls

This commit is contained in:
Tomas Cerskus 2018-11-07 19:41:35 +00:00 committed by XECDesign
parent c9b658ecd6
commit 4fc1423fdf

View File

@ -88,7 +88,7 @@ on_chroot() {
mount --bind /sys "${ROOTFS_DIR}/sys"
fi
capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- "$@"
capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@"
}
export -f on_chroot