From 4c858ed2aaa6352822eb84b3534e584986ae7a06 Mon Sep 17 00:00:00 2001
From: obarun <eric@obarun.org>
Date: Sat, 11 Mar 2023 02:29:29 +1100
Subject: [PATCH] prohibits section in function of the service type

---
 src/lib66/parse/parse_store_start_stop.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib66/parse/parse_store_start_stop.c b/src/lib66/parse/parse_store_start_stop.c
index 72d9cb9f..9b579ca6 100644
--- a/src/lib66/parse/parse_store_start_stop.c
+++ b/src/lib66/parse/parse_store_start_stop.c
@@ -25,6 +25,11 @@
 
 int parse_store_start_stop(resolve_service_t *res, char *store, int idsec, int idkey)
 {
+    log_flow() ;
+
+    if (res->type == TYPE_BUNDLE || res->type == TYPE_MODULE)
+        return 1 ;
+
     int e = 0 ;
     stralloc sa = STRALLOC_ZERO ;
     resolve_wrapper_t_ref wres = resolve_set_struct(DATA_SERVICE, res) ;
-- 
GitLab