From 7fc5c61a80e7434fae12880e4abc8bc2cadebbd3 Mon Sep 17 00:00:00 2001 From: Ariel Abreu Date: Wed, 27 Jul 2022 19:46:01 -0400 Subject: [PATCH] Change the way we execute vchroot through mldr --- src/darlingserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/darlingserver.cpp b/src/darlingserver.cpp index dca5579..bc1beca 100644 --- a/src/darlingserver.cpp +++ b/src/darlingserver.cpp @@ -263,7 +263,7 @@ void spawnLaunchd(const char* prefix) setenv("DYLD_ROOT_PATH", LIBEXEC_PATH, 1); setenv("__mldr_sockpath", tmp.c_str(), 1); - execl(DarlingServer::Config::defaultMldrPath.data(), "mldr!" LIBEXEC_PATH "/usr/libexec/darling/vchroot", "vchroot", prefix, initPath, NULL); + execl(DarlingServer::Config::defaultMldrPath.data(), "mldr", LIBEXEC_PATH "/usr/libexec/darling/vchroot", "vchroot", prefix, initPath, NULL); fprintf(stderr, "Failed to exec launchd: %s\n", strerror(errno)); abort();