forked from mirrors/nixpkgs
setuid-wrappers: correctly umount the tmpfs
This commit is contained in:
parent
c536a3fa2f
commit
393e646e4f
|
@ -132,7 +132,7 @@ in
|
|||
# Compatibility with old state, just remove the folder and symlink
|
||||
rm -f ${wrapperDir}/*
|
||||
# if it happens to be a tmpfs
|
||||
umount ${wrapperDir} || true
|
||||
${pkgs.utillinux}/bin/umount ${wrapperDir} || true
|
||||
rm -d ${wrapperDir}
|
||||
ln -d --symbolic $wrapperDir ${wrapperDir}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue