From c2890da0f39958f5e54aa3ddadb5217e8c4dc1d6 Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Fri, 26 Jul 2024 10:40:29 +0200 Subject: [PATCH] fix service log message --- sau/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sau/services.py b/sau/services.py index 344e69f..c4577d2 100644 --- a/sau/services.py +++ b/sau/services.py @@ -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