X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/13e8426f800dd5e21e78fa6488b860e3f0467984..4149675c7c37935820b6a991d54e319323de92bf:/methods/cdrom.cc?ds=inline diff --git a/methods/cdrom.cc b/methods/cdrom.cc index 41eb8a0ee..d6b8eae75 100644 --- a/methods/cdrom.cc +++ b/methods/cdrom.cc @@ -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.")); } }