Lazy unmount guest filesystem after building image, as it still might be busy
[strongswan.git] / testing / scripts / build-guestimages
index b93c868..f7fb1f8 100755 (executable)
@@ -65,7 +65,7 @@ do
                execute_chroot "update-rc.d bind9 defaults" 0
        fi
        sync
-       execute "umount $LOOPDIR" 0
+       execute "umount -l $LOOPDIR" 0
        execute "qemu-nbd -d $NBDEV" 0
        log_status 0
 done