summaryrefslogtreecommitdiff
path: root/methods/cdrom.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:54:00 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:54:00 +0000
commit175f08ac550f944d7a8eb9751af302ae667f1572 (patch)
tree30901b969959b73fe65725d76039332104369ff5 /methods/cdrom.cc
parentaa0e1101d75e6b61d63dc486caa0ab32a45b024f (diff)
Removed pthread check
Author: jgg Date: 1999-06-09 23:06:39 GMT Removed pthread check
Diffstat (limited to 'methods/cdrom.cc')
-rw-r--r--methods/cdrom.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/methods/cdrom.cc b/methods/cdrom.cc
index 68511dd5b..c702e2dc5 100644
--- a/methods/cdrom.cc
+++ b/methods/cdrom.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cdrom.cc,v 1.10 1999/06/05 03:54:29 jgg Exp $
+// $Id: cdrom.cc,v 1.11 1999/06/09 23:06:39 jgg Exp $
/* ######################################################################
CDROM URI method for APT
@@ -132,7 +132,10 @@ bool CDROMMethod::Fetch(FetchItem *Itm)
break;
}
}
-
+
+ if (Hit == true)
+ break;
+
// I suppose this should prompt somehow?
if (UnmountCdrom(CDROM) == false)
return _error->Error("Unable to unmount the CD-ROM in %s, it may still be in use.",