Only do openpty() if both stdin/stdout are terminals
authorMichael Vogt <mvo@debian.org>
Wed, 30 Apr 2014 15:04:29 +0000 (17:04 +0200)
committerMichael Vogt <mvo@debian.org>
Wed, 30 Apr 2014 15:04:29 +0000 (17:04 +0200)
commita11f6c973bc0dc226d8953e3edb6333d526c3143
treedf7c21f028089b99d63289d784ee5bd23d54d380
parent3163087b04ca5c297a7c98c018ba5c30e850a11e
Only do openpty() if both stdin/stdout are terminals

Closes: 746434
apt-pkg/deb/dpkgpm.cc
test/integration/test-failing-maintainer-scripts