diff options
author | lloyd <lloyd@randombit.net> | 2008-09-14 03:07:47 +0000 |
---|---|---|
committer | lloyd <lloyd@randombit.net> | 2008-09-14 03:07:47 +0000 |
commit | fc2fbc643aa77f25761cd2f51362c024267c321e (patch) | |
tree | d8644fa7cfdd44cc4f6837ffabe13703996dc412 | |
parent | a36102d141bf661f4658c3172072423582e6dc5c (diff) |
Don't allow zero second benchmarks
-rw-r--r-- | checks/check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/check.cpp b/checks/check.cpp index d8d65b933..383d6164b 100644 --- a/checks/check.cpp +++ b/checks/check.cpp @@ -129,7 +129,7 @@ int main(int argc, char* argv[]) if(opts.is_set("seconds")) { seconds = std::atof(opts.value("seconds").c_str()); - if(seconds < 0.1 || seconds > (5 * 60))) + if(seconds < 0.1 || seconds > (5 * 60)) { std::cout << "Invalid argument to --seconds\n"; return 2; |