projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b463e93
)
Don't double print version when invoked with --version
author
Jens Axboe
<jaxboe@fusionio.com>
Wed, 12 Jan 2011 08:07:15 +0000
(09:07 +0100)
committer
Jens Axboe
<jaxboe@fusionio.com>
Wed, 12 Jan 2011 08:07:15 +0000
(09:07 +0100)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
init.c
patch
|
blob
|
blame
|
history
diff --git
a/init.c
b/init.c
index 124bdbbbf2fa30beabcb62e69814f2b20f951791..18a5dc9efef499b5a8f7a0ce51958845ba95eae5 100644
(file)
--- 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))