fix service log message

This commit is contained in:
Fredrik Eriksson 2024-07-26 10:40:29 +02:00
parent 2886e367b3
commit c2890da0f3
Signed by: feffe
GPG Key ID: E6B5580B853D322B

View File

@ -185,7 +185,7 @@ def restart_services():
if get_deleted_open_files(proc):
service = services[proc_name]
policy = _get_service_restart_policy(service)
_warn(policy, '{} still has deleted files open'.format(proc, parent))
_warn(policy, f'{proc} still has deleted files open')
recommend_restart = True
return recommend_restart