summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-06-30 21:24:42 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-06-30 21:24:42 +0100
commit05c7bf52c985d96f98e3f508fafe0eeb48eec0cc (patch)
tree06e3f3f40e89e7829587bf562490c29173d3af6b
parent2856379a99ff2aad27a415a98177f9c05157d072 (diff)
make vasile quiet when umounting stuff...if there is nothing to umount...
-rw-r--r--20
-rwxr-xr-xvasile16
2 files changed, 8 insertions, 8 deletions
diff --git a/2 b/2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/2
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 () {