Skip to content

Commit

Permalink
scripts: do not ignore errors inside on_chroot calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Cerskus authored and XECDesign committed Nov 8, 2018
1 parent c9b658e commit 4fc1423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4fc1423

Please sign in to comment.