From afb016c5a74c7bee82466566a1abab4ecca415a0 Mon Sep 17 00:00:00 2001 From: Simon Pintarelli Date: Fri, 31 May 2024 13:26:40 +0200 Subject: [PATCH] remove "file://" from envvar --- src/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.cpp b/src/plugin.cpp index 2ff0259..d7c96db 100644 --- a/src/plugin.cpp +++ b/src/plugin.cpp @@ -161,7 +161,7 @@ int init_post_opt_remote(spank_t sp, for (auto &entry : mount_entries) { auto abs_image = *util::realpath(entry.image_path); auto abs_mount = *util::realpath(entry.mount_point); - env_var += "file://" + abs_image + ":" + abs_mount + ","; + env_var += abs_image + ":" + abs_mount + ","; } if (mount_entries.size() > 0) { spank_setenv(sp, UENV_MOUNT_LIST, env_var.c_str(), 1);