ntp: Fix ntpd_running return TRUE most of the time
authorYu A Wang <yu.a.wang@intel.com>
Mon, 25 Apr 2011 08:28:17 +0000 (04:28 -0400)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 27 Apr 2011 08:33:42 +0000 (10:33 +0200)
commit81f29879557ac7d29e1823168397bead6a43ff2f
tree9e428609a1c7748cf7f59e1126e01bc56e3191d0
parent98604654bab317a39500dd7a4ab1705248d79f94
ntp: Fix ntpd_running return TRUE most of the time

uninitialized ret value will return TRUE most of the time. By adding
 bind success situation, ret will be assigned the correct value.
plugins/ntpd.c