Further improved tmpfs management
This commit is contained in:
parent
e953895ae0
commit
5ad5bd0759
1 changed files with 2 additions and 2 deletions
|
|
@ -188,8 +188,8 @@ fi
|
|||
}
|
||||
|
||||
tmpumount(){
|
||||
grep $PWD/jails/$UPSTREAM-$ARCH/tmp /proc/mounts && return
|
||||
umount $PWD/jails/$UPSTREAM-$ARCH/tmp && return
|
||||
grep jails/$UPSTREAM-$ARCH/tmp /proc/mounts -q || return
|
||||
umount jails/$UPSTREAM-$ARCH/tmp && return
|
||||
echo ERROR: could not umount tmpfs at jails/$UPSTREAM-$ARCH/tmp
|
||||
exit 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue