summaryrefslogtreecommitdiff
path: root/cmdline/apt-cdrom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline/apt-cdrom.cc')
-rw-r--r--cmdline/apt-cdrom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc
index e9218ae69..94202d9e1 100644
--- a/cmdline/apt-cdrom.cc
+++ b/cmdline/apt-cdrom.cc
@@ -107,7 +107,7 @@ static bool AddOrIdent(bool const Add)
bool oneSuccessful = false;
bool AutoDetect = _config->FindB("Acquire::cdrom::AutoDetect", true);
- if (AutoDetect == true && UdevCdroms.Dlopen() == true)
+ if (AutoDetect == true)
{
bool const Debug = _config->FindB("Debug::Acquire::cdrom", false);
std::string const CDMount = _config->Find("Acquire::cdrom::mount");