From: Lennart Poettering Date: Tue, 17 Feb 2026 14:46:58 +0000 (+0100) Subject: core: use exec_context_with_rootfs() at one more place X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d327e9fddbf048958f70d36081dc0fe70e03ee6;p=thirdparty%2Fsystemd.git core: use exec_context_with_rootfs() at one more place --- 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))