index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2012-01-12 07:47:29 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-12 07:47:32 -0600 |
commit | b6209b4ba495dd4379806b72735dac78b8843c03 (patch) | |
tree | 3026ca75171b24a9e26580d8bb14ea73bbc936cb /src | |
parent | 73d0d743bda5367fcab2453bbe21c15e481150c2 (diff) |
-rw-r--r-- | src/pacman/pacman.c | 2 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 326664dd..bce73d21 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -801,7 +801,7 @@ int main(int argc, char *argv[]) config = config_new(); /* disable progressbar if the output is redirected */ - if(!isatty(1)) { + if(!isatty(fileno(stdout))) { config->noprogressbar = 1; } |