mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-21 17:48:47 +03:00
Disable --tree option on non-Linux platforms (update)
This commit is contained in:
parent
a912805ae9
commit
e168e2d97b
@ -57,9 +57,12 @@ class GlancesStandalone(object):
|
||||
# Ignore kernel threads in process list
|
||||
glances_processes.disable_kernel_threads()
|
||||
|
||||
if args.process_tree:
|
||||
# Enable process tree view
|
||||
glances_processes.enable_tree()
|
||||
try:
|
||||
if args.process_tree:
|
||||
# Enable process tree view
|
||||
glances_processes.enable_tree()
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
# Initial system informations update
|
||||
self.stats.update()
|
||||
|
Loading…
Reference in New Issue
Block a user