summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 9c81bb796..e01c8ecb9 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -473,6 +473,7 @@ sub ejectCdrom(;$) {
#- umount BEFORE opening the cdrom device otherwise the umount will
#- D state if the cdrom is already removed
eval { fs::umount("/tmp/image") };
+ if ($@) { log::l("files still open: ", readlink($_)) foreach glob_("/proc/self/fd/*") }
eval { ioctl detect_devices::tryOpen($cdrom), c::CDROMEJECT(), 1 };
}
}