index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-03-25 05:54:26 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-03-26 14:44:14 +1000 |
commit | e374e6829cea3512f0b4a4069c5a6168f0f8d8a0 (patch) | |
tree | cd639ca7f5428b46f118eaeacbe06b7863c18582 /lib | |
parent | 721b785e73333bdbd1b4ba3b0505cc14918064ad (diff) |
-rw-r--r-- | lib/libalpm/util.c | 1 |
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c index 4d851327..26d091b6 100644 --- a/lib/libalpm/util.c +++ b/lib/libalpm/util.c @@ -536,6 +536,7 @@ int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[]) if(pid == 0) { /* this code runs for the child only (the actual chroot/exec) */ + close(0); close(1); close(2); while(dup2(pipefd[1], 1) == -1 && errno == EINTR); |