summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:53 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:53 +0000
commit7a215bee41a8075d6afc6c1fdc919c9d32870059 (patch)
tree24bbc9684f812fde650c9dc848b169af5b6bd2cf /cmdline/apt-get.cc
parent45b5fa67a850b24cdb983fc2fbbe4268aa6aa632 (diff)
Fixed --force-yes bug
Author: jgg Date: 1998-12-05 04:36:10 GMT Fixed --force-yes bug
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 49eca83ac..2ae16a00a 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-get.cc,v 1.22 1998/12/05 04:30:34 jgg Exp $
+// $Id: apt-get.cc,v 1.23 1998/12/05 04:36:10 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
@@ -468,10 +468,10 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true)
ShowNew(c1out,Cache);
if (ShwKept == true)
ShowKept(c1out,Cache);
- Fail |= ShowHold(c1out,Cache);
+ Fail |= !ShowHold(c1out,Cache);
if (_config->FindB("APT::Get::Show-Upgraded",false) == true)
ShowUpgraded(c1out,Cache);
- Fail |= ShowEssential(c1out,Cache);
+ Fail |= !ShowEssential(c1out,Cache);
Stats(c1out,Cache);
// Sanity check