mirror of
https://github.com/NixOS/nix
synced 2024-09-19 10:50:24 -04:00
Merge pull request #11342 from DeterminateSystems/fix-umount
Fix umount failure
This commit is contained in:
commit
79ba1f1fd6
|
@ -69,7 +69,7 @@ mountOverlayfs () {
|
||||||
|| skipTest "overlayfs is not supported"
|
|| skipTest "overlayfs is not supported"
|
||||||
|
|
||||||
cleanupOverlay () {
|
cleanupOverlay () {
|
||||||
umount "$storeBRoot/nix/store"
|
umount -n "$storeBRoot/nix/store"
|
||||||
rm -r $storeVolume/workdir
|
rm -r $storeVolume/workdir
|
||||||
}
|
}
|
||||||
trap cleanupOverlay EXIT
|
trap cleanupOverlay EXIT
|
||||||
|
|
Loading…
Reference in a new issue