projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Let parse_options() decide on when parsing failed
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index a945b856eaf86afe018cb181e083df7a1636712e..89cc5996ca8854c9b9c655a232a366e8d278c9d7 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-1209,10
+1209,8
@@
int main(int argc, char *argv[])
if (parse_options(argc, argv))
return 1;
- if (!thread_number) {
- log_err("Nothing to do\n");
- return 1;
- }
+ if (!thread_number)
+ return 0;
ps = sysconf(_SC_PAGESIZE);
if (ps < 0) {