mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-14 12:00:14 -04:00
Add a condition to test if limits exist before the process sort
This commit is contained in:
@@ -931,7 +931,7 @@ class GlancesStats:
|
||||
Return the sorted process list
|
||||
"""
|
||||
|
||||
if self.process == {}:
|
||||
if (self.process == {}) or ('limits' not in globals()):
|
||||
return self.process
|
||||
|
||||
sortedReverse = True
|
||||
|
||||
Reference in New Issue
Block a user