This commit is contained in:
artoo 2014-10-08 00:18:23 +02:00
parent b3938e2e68
commit 21114546e2
2 changed files with 5 additions and 5 deletions

View file

@ -51,6 +51,11 @@ declare -A fsck_types=([cramfs]=1
[vfat]=1
[xfs]=1)
ignore_error() {
"$@" 2>/dev/null
return 0
}
track_mount() {
if [[ -z $CHROOT_ACTIVE_MOUNTS ]]; then
CHROOT_ACTIVE_MOUNTS=()

View file

@ -8,11 +8,6 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
ignore_error() {
"$@" 2>/dev/null
return 0
}
# in_array() {
# local i
# for i in "${@:2}"; do