diff --git a/src/core/execute.c b/src/core/execute.c index 2ab65e9cfef..8a1d070e269 100644 --- a/src/core/execute.c +++ b/src/core/execute.c @@ -3331,7 +3331,7 @@ static int apply_mount_namespace( /* Symlinks for exec dirs are set up after other mounts, before they are made read-only. */ r = compile_symlinks(context, params, &symlinks); if (r < 0) - return r; + goto finalize; needs_sandboxing = (params->flags & EXEC_APPLY_SANDBOXING) && !(command_flags & EXEC_COMMAND_FULLY_PRIVILEGED); if (needs_sandboxing) {