mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Get rid of those damn warnings about file descriptors
This commit is contained in:
parent
757cef32b3
commit
5850bf610f
1 changed files with 2 additions and 2 deletions
|
@ -324,7 +324,7 @@ def hook_exec(path, args=None, raise_on_error=False, no_trace=False,
|
|||
# Define output loggers and call command
|
||||
loggers = (
|
||||
lambda l: logger.debug(l.rstrip() + "\r"),
|
||||
lambda l: logger.warning(l.rstrip()),
|
||||
lambda l: logger.warning(l.rstrip()) if "invalid value for trace file descriptor" not in l.rstrip() else logger.debug(l.rstrip()),
|
||||
lambda l: logger.info(l.rstrip())
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue