diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:51 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:51 +0000 |
commit | 424c3bc07b90cd626ee4bd43771a91fc7712e811 (patch) | |
tree | 4fd208866c4dddfda418cc0f47e54e7b410024ae | |
parent | c57966727784610624631397f9547057e9cfc7aa (diff) |
Shuffled error checks to advoid strange warnings
Author: jgg
Date: 1999-02-15 05:24:35 GMT
Shuffled error checks to advoid strange warnings
-rw-r--r-- | cmdline/apt-get.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 8e5d7356a..0c466a6f9 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.40 1999/02/08 07:30:50 jgg Exp $ +// $Id: apt-get.cc,v 1.41 1999/02/15 05:24:35 jgg Exp $ /* ###################################################################### apt-get - Cover for dpkg @@ -522,7 +522,8 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true) // Create the package manager and prepare to download pkgDPkgPM PM(Cache); - if (PM.GetArchives(&Fetcher,&List,&Recs) == false) + if (PM.GetArchives(&Fetcher,&List,&Recs) == false || + _error->PendingError() == true) return false; // Display statistics |