mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-11 12:47:14 +03:00
Correct issue on run
This commit is contained in:
parent
be927fda3d
commit
6404e08129
@ -699,7 +699,7 @@ Examples of use:
|
||||
if getattr(self.args, 'memory_leak', True) and not (PY3 or self.is_standalone()):
|
||||
logger.critical("Option --memory-leak is only available with Python 3 and terminal mode")
|
||||
sys.exit(2)
|
||||
else:
|
||||
elif getattr(self.args, 'memory_leak', True) and (PY3 or self.is_standalone()):
|
||||
logger.info('Memory leak detection enabled')
|
||||
self.args.quiet = True
|
||||
if not self.args.stop_after:
|
||||
|
Loading…
Reference in New Issue
Block a user