diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-03-25 10:54:26 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-03-26 05:44:14 +0100 |
commit | e374e6829cea3512f0b4a4069c5a6168f0f8d8a0 (patch) | |
tree | cd639ca7f5428b46f118eaeacbe06b7863c18582 /lib/libalpm/filelist.c | |
parent | 721b785e73333bdbd1b4ba3b0505cc14918064ad (diff) | |
download | pacman-e374e6829cea3512f0b4a4069c5a6168f0f8d8a0.tar.gz pacman-e374e6829cea3512f0b4a4069c5a6168f0f8d8a0.tar.xz |
close stdin before running install scripts
libalpm does not guarantee that script output will be presented to the
user or that stdin will be connected to a terminal. Close stdin so that
scripts do not attempt to use it for user interaction.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/filelist.c')
0 files changed, 0 insertions, 0 deletions