added missing function for pacstrap

This commit is contained in:
eichehome 2023-12-20 00:20:41 +01:00
parent 17883014af
commit 311cb8a6af

View file

@ -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[@]}")
}