summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:04:09 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:04:09 +0000
commit00581c6b786743463040ec721f9c95febbcdfdf4 (patch)
tree7f7117d5620e669e78676c5ce870417347e454b1 /cmdline
parent408a8e0a4f3c6bb0f1e1a526b0625eeeee217122 (diff)
isatty test was backwards
Author: mdz Date: 2003-12-20 23:39:54 GMT isatty test was backwards
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 2c7c99092..315352cbf 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.146 2003/11/19 23:50:51 mdz Exp $
+// $Id: apt-get.cc,v 1.147 2003/12/20 23:39:54 mdz Exp $
/* ######################################################################
apt-get - Cover for dpkg
@@ -2468,7 +2468,7 @@ int main(int argc,const char *argv[])
}
// Deal with stdout not being a tty
- if (isatty(STDOUT_FILENO) && _config->FindI("quiet",0) < 1)
+ if (!isatty(STDOUT_FILENO) && _config->FindI("quiet",0) < 1)
_config->Set("quiet","1");
// Setup the output streams