X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.c;h=277d3b0dc9432917db2f0483ec812742148852e3;hb=77460335ec305aa4fbd8218c6e5c1c849fbef9c0;hp=9a4ba08ca7a3ea7ebbdedd1bfb6c265d1fe5e5a1;hpb=26be7bb8e6eaab8d1b24a721a634d273337185af;p=collectd.git diff --git a/src/collectd.c b/src/collectd.c index 9a4ba08c..277d3b0d 100644 --- a/src/collectd.c +++ b/src/collectd.c @@ -151,9 +151,9 @@ static int init_global_variables (void) 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");