setuid-wrappers: correctly umount the tmpfs
(cherry picked from commit 393e646e4f
)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
parent
aa38696a25
commit
72ed67a3c2
|
@ -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 New Issue
Block a user