summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-02-05 17:35:33 +0100
committerMichael Vogt <mvo@debian.org>2014-02-05 17:35:33 +0100
commit33b813ce44c7bafeb2a36b66fd004f8d94a2cbe4 (patch)
treea78f7197e287fafa81927305f17f8df698e17639 /cmdline/apt-get.cc
parent4afa7d18b37661996d188959ba7917824e1545d3 (diff)
move isatty() check into InitOutput()
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 6bff6e7de..1019ff325 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -1736,10 +1736,6 @@ int main(int argc,const char *argv[]) /*{{{*/
// see if we are in simulate mode
CheckSimulateMode(CmdL);
- // Deal with stdout not being a tty
- if (!isatty(STDOUT_FILENO) && _config->FindI("quiet", -1) == -1)
- _config->Set("quiet","1");
-
// Setup the output streams
InitOutput();