mirror of
https://github.com/NixOS/nix.git
synced 2025-12-16 05:51:05 +01:00
Fix umount failure
Fixes
```
umount: /tmp/nix-shell.i3xRwX/nix-test/local-overlay-store/delete-refs/stores/merged-store/nix/store: filesystem was unmounted, but failed to update userspace mount table.
make: *** [mk/lib.mk:93: tests/functional/local-overlay-store/delete-refs.sh.test] Error 16
```
in a dev shell.
Note: this previously worked before we didn't have umount in the dev
shell, so we got /run/wrappers/bin/umount.
This commit is contained in:
parent
b0a7edb5ab
commit
9243457cb2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue