diff options
author | Cedric Staniewski <cedric@gmx.ca> | 2009-05-12 10:59:34 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-10-11 23:34:47 +0200 |
commit | c7d8601e125de432f185c146c84333ca7d920d9a (patch) | |
tree | 231516cf6b3179f4b0e7ff703dbd1b37d9a0c1e0 /src/util/testdb.c | |
parent | ab3c6f01f5c884233f718e7f7d5c32b2fdf4ff73 (diff) | |
download | pacman-c7d8601e125de432f185c146c84333ca7d920d9a.tar.gz pacman-c7d8601e125de432f185c146c84333ca7d920d9a.tar.xz |
Fix stderr redirection
When redirecting both stderr and stdout and using the 2>&1 construct,
you have to redirect stdout first. Otherwise stderr will be redirected to
the 'old' stdout and not to the new resource.
Signed-off-by: Cedric Staniewski <cedric@gmx.ca>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/testdb.c')
0 files changed, 0 insertions, 0 deletions