Fix broken output when asking question and stdin is piped
commitd9af1a0cf2383eed009ed2bedfb1b34f1a5c7418
authorOlivier Brunel <i.am.jack.mail@gmail.com>
Thu, 12 Jan 2012 15:08:48 +0000 (12 16:08 +0100)
committerDan McGee <dan@archlinux.org>
Thu, 19 Jan 2012 03:59:54 +0000 (18 21:59 -0600)
tree3ed51d57dcd8b6fe3196a34fe1e75191a01d8012
parent4e60b9646d69227c6c9f226bf03a12158feaaee7
Fix broken output when asking question and stdin is piped

When asking question and stdin is piped, the response does not get printed out,
resulting in a missing \n and broken output (FS#27909); printing the response
fixes it.

Signed-off-by: Olivier Brunel <i.am.jack.mail@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
src/pacman/util.c