summaryrefslogtreecommitdiff
path: root/cmdline/apt-cdrom.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-02-26 14:07:14 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-02-26 14:10:47 +0100
commit0d775d8f2a8a8cb701fe97c76d76892761c29aa7 (patch)
tree52957861791aade8bc26125cb5e1a635f37d9650 /cmdline/apt-cdrom.cc
parentda18eb10188a22fc1698a9b8466272f2826447db (diff)
cdrom: Remove old udev dlopen stuff
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");