scripts: do not ignore errors inside on_chroot calls
This commit is contained in:
parent
c9b658ecd6
commit
4fc1423fdf
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ on_chroot() {
|
||||||
mount --bind /sys "${ROOTFS_DIR}/sys"
|
mount --bind /sys "${ROOTFS_DIR}/sys"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- "$@"
|
capsh --drop=cap_setfcap "--chroot=${ROOTFS_DIR}/" -- -e "$@"
|
||||||
}
|
}
|
||||||
export -f on_chroot
|
export -f on_chroot
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue