Skip to content
Snippets Groups Projects
Commit 5ad5bd07 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Further improved tmpfs management

parent e953895a
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment