X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=overlay-boot;h=899d53ba25f3f9310041462df7d84ce06d9a3307;hb=refs%2Fheads%2Fmaster;hp=6577cadf387a658b182b8a928ee257ab3274f9cb;hpb=3b288e812dc2d5d72c7dd91d5e8cacbd72508a6a;p=rrq%2Foverlay-boot.git diff --git a/overlay-boot b/overlay-boot index 6577cad..899d53b 100755 --- a/overlay-boot +++ b/overlay-boot @@ -37,6 +37,7 @@ trap "exithandler" 0 # including "/" as well) and "/proc". sort -rk2,2 < /proc/mounts | while read D P A2 ; do beginswith "$P" "$LIVE" && continue + beginswith "$P" "$(realpath $LIVE)" && continue beginswith "/run/netns/$NAME" "$P" && continue [ "$P" = /proc ] && continue umount "$P"