aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
Diffstat (limited to 'checks')
-rw-r--r--checks/check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/check.cpp b/checks/check.cpp
index a6074b685..f009372ee 100644
--- a/checks/check.cpp
+++ b/checks/check.cpp
@@ -63,7 +63,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 > 30) && seconds != 0)
+ if(seconds && (seconds < 0.1 || seconds > (5 * 60)))
{
std::cout << "Invalid argument to --seconds\n";
return 2;