From 6d327e9fddbf048958f70d36081dc0fe70e03ee6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 17 Feb 2026 15:46:58 +0100 Subject: [PATCH] core: use exec_context_with_rootfs() at one more place --- src/core/execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/execute.c b/src/core/execute.c index 6d2291cadd5..51d6996e720 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -356,7 +356,7 @@ const char* exec_get_private_notify_socket_path(const ExecContext *context, cons if (!needs_sandboxing) return NULL; - if (!context->root_directory && !context->root_image && !context->root_directory_as_fd) + if (!exec_context_with_rootfs(context)) return NULL; if (!exec_context_get_effective_mount_apivfs(context)) -- 2.47.3