diff --git a/manual-build/archos-bootstrap b/manual-build/archos-bootstrap index 77c702a..7ab0419 100644 --- a/manual-build/archos-bootstrap +++ b/manual-build/archos-bootstrap @@ -7,6 +7,11 @@ warning() { out "==> WARNING:" "$@"; } >&2 msg() { out "==>" "$@"; } die() { error "$@"; exit 1; } +ignore_error() { + "$@" 2>/dev/null + return 0 +} + chroot_add_mount() { mount "$@" && CHROOT_ACTIVE_MOUNTS=("$2" "${CHROOT_ACTIVE_MOUNTS[@]}") }