mirror of
https://github.com/nicolargo/glances.git
synced 2025-01-06 09:47:09 +03:00
Correct bug on default log file
This commit is contained in:
parent
aa9845d985
commit
97cf297ad9
@ -78,7 +78,8 @@ def tempfile_name():
|
||||
print("Warning: can't write logs to file {} (permission denied)".format(ret))
|
||||
ret = tempfile.mkstemp(prefix='glances', suffix='.tmp', text=True)
|
||||
print("Create a new log file: {}".format(ret[1]))
|
||||
return ret[1]
|
||||
return ret[1]
|
||||
return ret
|
||||
|
||||
|
||||
def glances_logger():
|
||||
|
Loading…
Reference in New Issue
Block a user