From 6c9079759285e073024f7e3193c990ede2a17cef Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:53:21 +0000 Subject: CDrom fixes Author: jgg Date: 1999-04-03 01:05:24 GMT CDrom fixes --- cmdline/apt-cdrom.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'cmdline') diff --git a/cmdline/apt-cdrom.cc b/cmdline/apt-cdrom.cc index cd95eafee..cac0f7eff 100644 --- a/cmdline/apt-cdrom.cc +++ b/cmdline/apt-cdrom.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-cdrom.cc,v 1.19 1999/03/29 19:28:52 jgg Exp $ +// $Id: apt-cdrom.cc,v 1.20 1999/04/03 01:05:25 jgg Exp $ /* ###################################################################### APT CDROM - Tool for handling APT's CDROM database. @@ -831,13 +831,10 @@ bool DoAdd(CommandLine &) UnmountCdrom(CDROM); // Mount the new CDROM - Prompt("Please insert a Disc in the drive and press any key"); + Prompt("Please insert a Disc in the drive and press enter"); cout << "Mounting CD-ROM" << endl; if (MountCdrom(CDROM) == false) - { - cout << "Failed to mount the cdrom." << endl; - return false; - } + return _error->Error("Failed to mount the cdrom."); } // Hash the CD to get an ID -- cgit v1.2.3-70-g09d2