]> git.saurik.com Git - apt.git/commitdiff
fix merge artifact
authorMichael Vogt <mvo@debian.org>
Thu, 15 Aug 2013 12:02:19 +0000 (14:02 +0200)
committerMichael Vogt <mvo@debian.org>
Thu, 15 Aug 2013 12:02:19 +0000 (14:02 +0200)
apt-pkg/deb/dpkgpm.cc

index 03986d0b9af82e1f0f6cd9e8e29636e0cf5fcf6c..21109ed948a4ed5fdc091812e22c66354048a5eb 100644 (file)
@@ -1261,11 +1261,6 @@ bool pkgDPkgPM::Go(int OutStatusFd)
            tcsetattr(0, TCSAFLUSH, &rtt);
            sigprocmask(SIG_SETMASK, &original_sigmask, 0);
         }
            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.
       }
       // 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.