mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-30 12:43:24 +03:00
Glances Snap doesn't run on Orange Pi Zero running Ubuntu Core 16 #1517
This commit is contained in:
parent
5c195a1c6c
commit
2ec1adb17e
@ -98,7 +98,7 @@ class Plugin(GlancesPlugin):
|
||||
# and ignore all others (e.g. memory partitions such as /dev/shm)
|
||||
try:
|
||||
fs_stat = psutil.disk_partitions(all=False)
|
||||
except UnicodeDecodeError:
|
||||
except (UnicodeDecodeError, PermissionError):
|
||||
return self.stats
|
||||
|
||||
# Optionnal hack to allow logicals mounts points (issue #448)
|
||||
|
Loading…
Reference in New Issue
Block a user