mirror of https://github.com/aristocratos/bpytop
Added conditional for OsX on use_fstab
parent
8cc212c19c
commit
c28c7b12d4
|
@ -3080,7 +3080,7 @@ class MemCollector(Collector):
|
||||||
errlog.exception(f'{e}')
|
errlog.exception(f'{e}')
|
||||||
io_counters = None
|
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:
|
try:
|
||||||
with open('/etc/fstab','r') as fstab:
|
with open('/etc/fstab','r') as fstab:
|
||||||
for line in fstab:
|
for line in fstab:
|
||||||
|
|
Loading…
Reference in New Issue