@cryptotaxi247 / netdata-1 / commits / 80ae16661

fix condition

Costa Tsaousis (ktsaou) committed Nov 8, 2016 at 23:30 UTC 80ae16661e00999c7565ba8880bd7abc42658144
1 file changed +1 -1
src/health.c
+1 -1
@@ -2754,7 +2754,7 @@ void *health_main(void *ptr) {
2754 rrdhost_rdlock(&localhost);
2755
2756 for(rc = localhost.alarms; rc; rc = rc->next) {
2757 - if(unlikely(rc->rrdcalc_flags & RRDCALC_FLAG_RUNNABLE))
2757 + if(unlikely(!(rc->rrdcalc_flags & RRDCALC_FLAG_RUNNABLE)))
2758 continue;
2759
2760 int warning_status = RRDCALC_STATUS_UNDEFINED;