diff --git a/src/lib66/sanitize/sanitize_fdholder.c b/src/lib66/sanitize/sanitize_fdholder.c index 98069f28bb0450c89e0bd2bce7260a8eb35ec045..af220ee26e9aa4a1c1bd669ffa3f834312402cb8 100644 --- a/src/lib66/sanitize/sanitize_fdholder.c +++ b/src/lib66/sanitize/sanitize_fdholder.c @@ -29,6 +29,7 @@ #include <66/service.h> #include <66/constants.h> #include <66/state.h> +#include <66/enum.h> #include <s6/fdholder.h> @@ -43,7 +44,7 @@ void sanitize_fdholder(resolve_service_t *res, uint32_t flag) { log_flow() ; - if (res->logger.name) { + if (res->logger.name && res->type == TYPE_CLASSIC) { stralloc list = STRALLOC_ZERO ; char *sa = res->sa.s ;