From c28c7b12d4f7e7ade8a049be8f139fb758178968 Mon Sep 17 00:00:00 2001 From: aristocratos Date: Mon, 4 Jan 2021 22:17:04 +0100 Subject: [PATCH] Added conditional for OsX on use_fstab --- bpytop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpytop.py b/bpytop.py index ee644dd..7d8117f 100755 --- a/bpytop.py +++ b/bpytop.py @@ -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: