Code

If `ping_add_host' failes, `ping_config' no longer returns an error condition. This...
authorocto <octo>
Sun, 19 Mar 2006 10:42:44 +0000 (10:42 +0000)
committerocto <octo>
Sun, 19 Mar 2006 10:42:44 +0000 (10:42 +0000)
src/ping.c

index fb2f8c1d7a19800ec9bb988f3de2862fc045a62f..303b2782ded3cc721dad4858d808090e97d9708e 100644 (file)
@@ -72,8 +72,7 @@ static int ping_config (char *key, char *value)
 
        if (ping_host_add (pingobj, value) < 0)
        {
-               syslog (LOG_ERR, "ping: `ping_host_add' failed.\n");
-               return (-1);
+               syslog (LOG_WARNING, "ping: `ping_host_add' failed.\n");
        }
 
        return (0);