From 5e9df483dc042c05ce8def0944aab1987ae1ac57 Mon Sep 17 00:00:00 2001
From: obarun <eric@obarun.org>
Date: Mon, 11 Dec 2023 10:41:41 +1100
Subject: [PATCH] only append to selection the module name and not the service
 within module

---
 src/lib66/exec/ssexec_reconfigure.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib66/exec/ssexec_reconfigure.c b/src/lib66/exec/ssexec_reconfigure.c
index 1dd569e8..dee2e491 100644
--- a/src/lib66/exec/ssexec_reconfigure.c
+++ b/src/lib66/exec/ssexec_reconfigure.c
@@ -116,7 +116,7 @@ int ssexec_reconfigure(int argc, char const *const *argv, ssexec_t *info)
 
         issupervised = sta.issupervised == STATE_FLAGS_TRUE ? 1 : 0 ;
 
-        if (ares[aresid].enabled)
+        if (ares[aresid].enabled && !ares[aresid].inns)
             if (!stack_add_g(&stk, argv[n]))
                 log_dieu(LOG_EXIT_SYS, "add string") ;
 
-- 
GitLab