From 692d3a79b828a19405b6e4a9ee06af837185deaa Mon Sep 17 00:00:00 2001 From: hanjinpeng Date: Wed, 16 Sep 2026 09:08:45 -0400 Subject: [PATCH] functions: add a message for force-reload in systemctl_redirect() Init scripts redirect "force-reload" to systemctl, but systemctl_redirect() had no message for this command, so action() was called with an empty string and the user saw just "[ OK ]". --- etc/rc.d/init.d/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc.d/init.d/functions b/etc/rc.d/init.d/functions index 0d973b3f..bd59396e 100644 --- a/etc/rc.d/init.d/functions +++ b/etc/rc.d/init.d/functions @@ -35,7 +35,7 @@ systemctl_redirect () { stop) s=$"Stopping $prog (via systemctl): " ;; - reload|try-reload) + reload|try-reload|force-reload) s=$"Reloading $prog configuration (via systemctl): " ;; restart|try-restart|condrestart)