mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 20:38:05 +00:00
cmdeploy: fix lint
This commit is contained in:
@@ -694,7 +694,7 @@ def deploy_chatmail(config_path: Path, disable_mail: bool) -> None:
|
|||||||
for service, port in port_services:
|
for service, port in port_services:
|
||||||
running_service = host.get_fact(Port, port=port)
|
running_service = host.get_fact(Port, port=port)
|
||||||
if running_service not in (service, None):
|
if running_service not in (service, None):
|
||||||
Out().red(f"Can't install chatmail relay: port {port} is occupied by: {running_service}")
|
Out().red(f"Deploy failed: port {port} is occupied by: {running_service}")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
apt.packages(
|
apt.packages(
|
||||||
|
|||||||
Reference in New Issue
Block a user