diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-06-30 21:24:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-06-30 21:24:42 +0100 |
commit | 05c7bf52c985d96f98e3f508fafe0eeb48eec0cc (patch) | |
tree | 06e3f3f40e89e7829587bf562490c29173d3af6b | |
parent | 2856379a99ff2aad27a415a98177f9c05157d072 (diff) |
make vasile quiet when umounting stuff...if there is nothing to umount...
-rw-r--r-- | 2 | 0 | ||||
-rwxr-xr-x | vasile | 16 |
2 files changed, 8 insertions, 8 deletions
@@ -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 () { |