Don't output version for terse output
authorJens Axboe <axboe@kernel.dk>
Thu, 13 Oct 2011 11:37:07 +0000 (13:37 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Oct 2011 11:37:07 +0000 (13:37 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
init.c

diff --git a/init.c b/init.c
index 485efc9f641a59047d540910a4af30afd6efab38..5bea9488627f85a461c3c2709f57155b3e8248c1 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1525,6 +1525,8 @@ int parse_options(int argc, char *argv[])
                fio_gtod_cpu = def_thread.o.gtod_cpu;
        }
 
-       log_info("fio %s\n", fio_version_string);
+       if (!terse_output)
+               log_info("fio %s\n", fio_version_string);
+
        return 0;
 }