mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-02 14:32:39 +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)
|
# and ignore all others (e.g. memory partitions such as /dev/shm)
|
||||||
try:
|
try:
|
||||||
fs_stat = psutil.disk_partitions(all=False)
|
fs_stat = psutil.disk_partitions(all=False)
|
||||||
except UnicodeDecodeError:
|
except (UnicodeDecodeError, PermissionError):
|
||||||
return self.stats
|
return self.stats
|
||||||
|
|
||||||
# Optionnal hack to allow logicals mounts points (issue #448)
|
# Optionnal hack to allow logicals mounts points (issue #448)
|
||||||
|
Loading…
Reference in New Issue
Block a user