summaryrefslogtreecommitdiffstats
path: root/core/includes
diff options
context:
space:
mode:
authorSimon Rettberg2023-01-13 12:25:13 +0100
committerSimon Rettberg2023-01-13 12:25:13 +0100
commit8e88036e91c49940c4e1afeacc37b29d6802a34b (patch)
tree4931be96e6398e977596d9083ae7e59af54bc99b /core/includes
parent[lightdm-greeter-bwlp] Replace polkit .pkla by equivalent .rules file (diff)
downloadmltk-8e88036e91c49940c4e1afeacc37b29d6802a34b.tar.gz
mltk-8e88036e91c49940c4e1afeacc37b29d6802a34b.tar.xz
mltk-8e88036e91c49940c4e1afeacc37b29d6802a34b.zip
[inc/chroot] Delete preload .so after chroot exit
Diffstat (limited to 'core/includes')
-rw-r--r--core/includes/chroot.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/includes/chroot.inc b/core/includes/chroot.inc
index 04662b76..78441a18 100644
--- a/core/includes/chroot.inc
+++ b/core/includes/chroot.inc
@@ -227,6 +227,7 @@ chroot_run() {
exec 0>&8 # This redirection is used for debugging within a chroot
chroot --userspec root:root "${CHROOT_MOUNTDIR}" /autoexec.bat
local RET=$?
+ unlink "${CHROOT_MOUNTDIR}/bla.so"
#local i
#for i in $CHROOT_BINDMOUNTS; do
# umount -lf "${CHROOT_MOUNTDIR}/$i"