summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:54:28 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:54:28 +0000
commit8867447c72064624c2dcd574be1ccd3601c7682c (patch)
tree4790961e136dd8a320a3402d72d7222635e13161 /apt-pkg/deb
parentbdae53f1bf6710404235bbbd071c55f4ec1a9330 (diff)
Fixed bad return for missing updates directory
Author: jgg Date: 1999-08-03 05:21:19 GMT Fixed bad return for missing updates directory
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/dpkginit.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/deb/dpkginit.cc b/apt-pkg/deb/dpkginit.cc
index 6ea7f04af..576e1967a 100644
--- a/apt-pkg/deb/dpkginit.cc
+++ b/apt-pkg/deb/dpkginit.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: dpkginit.cc,v 1.4 1999/07/30 05:36:52 jgg Exp $
+// $Id: dpkginit.cc,v 1.5 1999/08/03 05:21:19 jgg Exp $
/* ######################################################################
DPKG init - Initialize the dpkg stuff
@@ -91,7 +91,7 @@ bool pkgDpkgLock::CheckUpdates()
string File = flNotFile(_config->Find("Dir::State::status")) + "updates/";
DIR *DirP = opendir(File.c_str());
if (DirP == 0)
- return true;
+ return false;
/* We ignore any files that are not all digits, this skips .,.. and
some tmp files dpkg will leave behind.. */