ping plugin: Let start_thread() return gracefully when thread is already running.
authorFlorian Forster <octo@collectd.org>
Sat, 6 Aug 2016 16:22:56 +0000 (18:22 +0200)
committerFlorian Forster <octo@collectd.org>
Sat, 6 Aug 2016 16:22:56 +0000 (18:22 +0200)
commit67a330cb7ba890a03142a089ed1aebea8842072f
treee0ecee5675afd2926840a397ac887d4685393f0f
parenteae3f57d9a826e015ef952c746675c2aff8592dc
ping plugin: Let start_thread() return gracefully when thread is already running.

Signaling an error caused the init function to signal an error, causing
the read callback to be unregistered on systems where init is called
more than once.

Fixes: #869
src/ping.c