summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-01-12 09:07:15 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-01-12 09:07:15 +0100
commitbce964a1195571680359495eafa4733bf7744746 (patch)
treebbd099c7a646fc7eda6bd32984ce652c4896004a
parentb463e9363b826d5ba4f16e0115a26f24b77078f4 (diff)
downloadfio-bce964a1195571680359495eafa4733bf7744746.tar.gz
fio-bce964a1195571680359495eafa4733bf7744746.tar.bz2
Don't double print version when invoked with --version
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index 124bdbbb..18a5dc9e 100644
--- a/init.c
+++ b/init.c
@@ -1107,7 +1107,7 @@ static int parse_cmd_line(int argc, char *argv[])
read_only = 1;
break;
case 'v':
- printf("%s\n", fio_version_string);
+ /* already being printed, just quit */
exit(0);
case 'e':
if (!strcmp("always", optarg))