aboutsummaryrefslogtreecommitdiffstats
path: root/checks/check.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-14 03:07:47 +0000
committerlloyd <[email protected]>2008-09-14 03:07:47 +0000
commitfc2fbc643aa77f25761cd2f51362c024267c321e (patch)
treed8644fa7cfdd44cc4f6837ffabe13703996dc412 /checks/check.cpp
parenta36102d141bf661f4658c3172072423582e6dc5c (diff)
Don't allow zero second benchmarks
Diffstat (limited to 'checks/check.cpp')
-rw-r--r--checks/check.cpp2
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;