scripts: do not ignore errors inside on_chroot calls
This commit is contained in:
parent
c9b658ecd6
commit
4fc1423fdf
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user