mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Check for tty in root_handlers before remove it in bin/yunohost
This commit is contained in:
parent
8114de167b
commit
4401237a51
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ def _init_moulinette(debug=False, verbose=False, quiet=False):
|
||||||
handlers.append('tty')
|
handlers.append('tty')
|
||||||
|
|
||||||
root_handlers = set(handlers)
|
root_handlers = set(handlers)
|
||||||
if not debug:
|
if not debug and 'tty' in root_handlers:
|
||||||
root_handlers.remove('tty')
|
root_handlers.remove('tty')
|
||||||
|
|
||||||
# Define loggers level
|
# Define loggers level
|
||||||
|
|
Loading…
Add table
Reference in a new issue