From: Ondrej Dubaj Date: Tue, 26 Feb 2019 07:36:14 +0000 (+0100) Subject: avoiding triggering automounts, bug #1670060 X-Git-Tag: v12.1.4~54^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f81fc24;p=sysstat avoiding triggering automounts, bug #1670060 --- diff --git a/sadc.c b/sadc.c index 4d62e37..a72c769 100644 --- a/sadc.c +++ b/sadc.c @@ -318,6 +318,9 @@ void sa_sys_init(void) for (i = 0; i < NR_ACT; i++) { + if ( ! (act[i]->options & AO_COLLECTED ) ) + continue; + if (HAS_COUNT_FUNCTION(act[i]->options)) { idx = act[i]->f_count_index;