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
|
@ -323,8 +323,8 @@ def hook_exec(path, args=None, raise_on_error=False, no_trace=False,
|
||||||
|
|
||||||
# Define output loggers and call command
|
# Define output loggers and call command
|
||||||
loggers = (
|
loggers = (
|
||||||
lambda l: logger.debug(l.rstrip()+"\r"),
|
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())
|
lambda l: logger.info(l.rstrip())
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue