summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-08-15 14:02:19 +0200
committerMichael Vogt <mvo@debian.org>2013-08-15 14:02:19 +0200
commit43ffe2d15bfff049d1ffe10c7696c008495f5912 (patch)
tree9ff0b4026d170b7f7550d9c8a7627d927cd2321c /apt-pkg
parent3da8b680afd82541ce0168cf0c42d77f08d4c79f (diff)
fix merge artifact
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/dpkgpm.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 03986d0b9..21109ed94 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -1261,11 +1261,6 @@ bool pkgDPkgPM::Go(int OutStatusFd)
tcsetattr(0, TCSAFLUSH, &rtt);
sigprocmask(SIG_SETMASK, &original_sigmask, 0);
}
- } else {
- const char *s = _("Can not write log, tcgetattr() failed for stdout");
- fprintf(stderr, "%s", s);
- if(d->term_out)
- fprintf(d->term_out, "%s",s);
}
// complain only if stdout is either a terminal (but still failed) or is an invalid
// descriptor otherwise we would complain about redirection to e.g. /dev/null as well.