commit | ce98fa663bb7c157b0db45791731d4795d6208a5 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Apr 17 13:27:32 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Apr 17 13:27:32 2007 +0200 |
tree | 9d7f4c8b5f6e82fdbe6ac32fca2a8edb30cbdcdd | |
parent | 8cc7afa91ddc5a0980b9d2dbfdd66e1511a0d4b1 [diff] [blame] |
If writing to stdout, move stat output to stderr Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/filesetup.c b/filesetup.c index f0c42e8..6ccd357 100644 --- a/filesetup.c +++ b/filesetup.c
@@ -209,6 +209,12 @@ return 1; } is_std = 1; + + /* + * move output logging to stderr, if we are writing to stdout + */ + if (td_write(td)) + f_out = stderr; } if (td->o.odirect)