X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/13e8426f800dd5e21e78fa6488b860e3f0467984..3d5f395664fdff700646ffecf9c0e026e97e8825:/methods/cdrom.cc 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.")); } }