summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea31142)
raw | patch | inline | side by side (parent: ea31142)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 25 Apr 2010 12:46:44 +0000 (14:46 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 25 Apr 2010 12:46:44 +0000 (14:46 +0200) |
The default value is "2", not "10".
src/collectd.c | patch | blob | history |
diff --git a/src/collectd.c b/src/collectd.c
index 9a4ba08ca7a3ea7ebbdedd1bfb6c265d1fe5e5a1..277d3b0dc9432917db2f0483ec812742148852e3 100644 (file)
--- a/src/collectd.c
+++ b/src/collectd.c
str = global_option_get ("Timeout");
if (str == NULL)
- str = "10";
+ str = "2";
timeout_g = atoi (str);
- if (timeout_g <= 0)
+ if (timeout_g <= 1)
{
fprintf (stderr, "Cannot set the timeout to a correct value.\n"
"Please check your settings.\n");