aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/check_ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 9652ab7f..eb3a6dbf 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -104,7 +104,7 @@ main (int argc, char **argv)
}
/* handle timeouts gracefully */
- alarm (timeout_interval);
+ alarm (timeout_interval + 1);
for (i = 0 ; i < n_addresses ; i++) {