summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTomas Cerskus <tomas@amberbox.com>2018-11-07 19:41:35 +0000
committerXECDesign <XECDesign@users.noreply.github.com>2018-11-08 12:12:04 +0000
commit4fc1423fdff262f1ca8e5f4a0ba706b5ff35f428 (patch)
treece781717868686f3a5e6ab831d9f397b1dadfd2a /scripts
parentc9b658ecd666e6c7f140f5f8179323ca1f6b70e9 (diff)
scripts: do not ignore errors inside on_chroot calls
Diffstat (limited to 'scripts')
-rw-r--r--scripts/common2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/common b/scripts/common
index ad095b8..bdddead 100644
--- a/scripts/common
+++ b/scripts/common
@@ -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