Added conditional for OsX on use_fstab

pull/233/head
aristocratos 2021-01-04 22:17:04 +01:00
parent 8cc212c19c
commit c28c7b12d4
1 changed files with 1 additions and 1 deletions

View File

@ -3080,7 +3080,7 @@ class MemCollector(Collector):
errlog.exception(f'{e}')
io_counters = None
if CONFIG.use_fstab and not cls.fstab_filter:
if CONFIG.use_fstab and SYSTEM != "MacOS" and not cls.fstab_filter:
try:
with open('/etc/fstab','r') as fstab:
for line in fstab: