diff --git a/src/core/execute.c b/src/core/execute.c index de72786d7fe..2ec8620b867 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -1810,8 +1810,7 @@ static bool exec_needs_mount_namespace( return true; if (context->dynamic_user && - (!strv_isempty(context->directories[EXEC_DIRECTORY_RUNTIME].paths) || - !strv_isempty(context->directories[EXEC_DIRECTORY_STATE].paths) || + (!strv_isempty(context->directories[EXEC_DIRECTORY_STATE].paths) || !strv_isempty(context->directories[EXEC_DIRECTORY_CACHE].paths) || !strv_isempty(context->directories[EXEC_DIRECTORY_LOGS].paths))) return true;