]> git.saurik.com Git - apt.git/blobdiff - methods/cdrom.cc
* merged with the current debian version
[apt.git] / methods / cdrom.cc
index 41eb8a0ee7be3a02263dd9dfff4c8d42f1637477..d6b8eae75c0dd4d6c810f0ab720b997c09dfdb76 100644 (file)
@@ -166,8 +166,7 @@ bool CDROMMethod::Fetch(FetchItem *Itm)
       if (MediaFail(Get.Host,CDROM) == false)
       {
         CurrentID = "FAIL";
-        Fail(_("Wrong CD-ROM"),true);
-        return true;
+        return _error->Error(_("Disk not found."));
       }
    }