Parcourir la source

fix merge artifact

Michael Vogt il y a 13 ans
Parent
commit
43ffe2d15b
1 fichiers modifiés avec 0 ajouts et 5 suppressions
  1. 0 5
      apt-pkg/deb/dpkgpm.cc

+ 0 - 5
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.