Merge pull request #11342 from DeterminateSystems/fix-umount

Fix umount failure
This commit is contained in:
Eelco Dolstra 2024-08-19 19:31:55 +02:00 committed by GitHub
commit 79ba1f1fd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ mountOverlayfs () {
|| skipTest "overlayfs is not supported"
cleanupOverlay () {
umount "$storeBRoot/nix/store"
umount -n "$storeBRoot/nix/store"
rm -r $storeVolume/workdir
}
trap cleanupOverlay EXIT