mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
service test conf: gotta decode the output
This commit is contained in:
parent
3b0bf74274
commit
4332278f07
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ def service_reload_or_restart(names, test_conf=True):
|
||||||
|
|
||||||
out, _ = p.communicate()
|
out, _ = p.communicate()
|
||||||
if p.returncode != 0:
|
if p.returncode != 0:
|
||||||
errors = out.strip().split("\n")
|
errors = out.decode().strip().split("\n")
|
||||||
logger.error(
|
logger.error(
|
||||||
m18n.n("service_not_reloading_because_conf_broken", errors=errors)
|
m18n.n("service_not_reloading_because_conf_broken", errors=errors)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue