diff options
author | Michael Vogt <mvo@debian.org> | 2014-02-05 17:35:33 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-02-05 17:35:33 +0100 |
commit | 33b813ce44c7bafeb2a36b66fd004f8d94a2cbe4 (patch) | |
tree | a78f7197e287fafa81927305f17f8df698e17639 /cmdline/apt.cc | |
parent | 4afa7d18b37661996d188959ba7917824e1545d3 (diff) |
move isatty() check into InitOutput()
Diffstat (limited to 'cmdline/apt.cc')
-rw-r--r-- | cmdline/apt.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmdline/apt.cc b/cmdline/apt.cc index 6fe25e3f3..6ad470faa 100644 --- a/cmdline/apt.cc +++ b/cmdline/apt.cc @@ -156,8 +156,6 @@ int main(int argc, const char *argv[]) /*{{{*/ << std::endl << std::endl; } - if (!isatty(STDOUT_FILENO) && _config->FindI("quiet", -1) == -1) - _config->Set("quiet","1"); // See if the help should be shown if (_config->FindB("help") == true || |