From 05c7bf52c985d96f98e3f508fafe0eeb48eec0cc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 30 Jun 2015 21:24:42 +0100 Subject: make vasile quiet when umounting stuff...if there is nothing to umount... --- 2 | 0 vasile | 16 ++++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 2 diff --git a/2 b/2 new file mode 100644 index 0000000..e69de29 diff --git a/vasile b/vasile index 1940036..4b869c5 100755 --- a/vasile +++ b/vasile @@ -96,14 +96,14 @@ envkogaionstart () { envkogaionstop () { # umount squashfs + overlayfs chroot - umount -l "$overlaydir"/proc - umount -l "$overlaydir"/sys - umount -l "$overlaydir"/dev/pts - umount -l "$overlaydir"/dev/shm - umount -l "$overlaydir"/dev - umount -l "$overlaydir"/tmp - umount -l "$overlaydir" - umount -l "$rodir" + umount -l "$overlaydir"/proc > /dev/null 2>&1 + umount -l "$overlaydir"/sys > /dev/null 2>&1 + umount -l "$overlaydir"/dev/pts > /dev/null 2>&1 + umount -l "$overlaydir"/dev/shm > /dev/null 2>&1 + umount -l "$overlaydir"/dev > /dev/null 2>&1 + umount -l "$overlaydir"/tmp > /dev/null 2>&1 + umount -l "$overlaydir" > /dev/null 2>&1 + umount -l "$rodir" > /dev/null 2>&1 } envkogaionbuild () { -- cgit v1.2.3