added missing function for pacstrap
This commit is contained in:
parent
17883014af
commit
311cb8a6af
1 changed files with 5 additions and 0 deletions
|
@ -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[@]}")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue