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
|
# Compatibility with old state, just remove the folder and symlink
|
||||||
rm -f ${wrapperDir}/*
|
rm -f ${wrapperDir}/*
|
||||||
# if it happens to be a tmpfs
|
# if it happens to be a tmpfs
|
||||||
umount ${wrapperDir} || true
|
${pkgs.utillinux}/bin/umount ${wrapperDir} || true
|
||||||
rm -d ${wrapperDir}
|
rm -d ${wrapperDir}
|
||||||
ln -d --symbolic $wrapperDir ${wrapperDir}
|
ln -d --symbolic $wrapperDir ${wrapperDir}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user