about summary refs log tree commit diff stats
path: root/src/core.c
diff options
context:
space:
mode:
authorYip Coekjan <69834864+Coekjan@users.noreply.github.com>2024-07-05 17:02:09 +0800
committerGitHub <noreply@github.com>2024-07-05 11:02:09 +0200
commit6ac3716594c5611b6c0b24be0cddc7faf4cc7cdc (patch)
tree33125910bf8e0d8d65d7b480ef560d69dab14a4c /src/core.c
parent42bad3ea6b33be5285f5c03fd42838c7810bf789 (diff)
downloadbox64-6ac3716594c5611b6c0b24be0cddc7faf4cc7cdc.tar.gz
box64-6ac3716594c5611b6c0b24be0cddc7faf4cc7cdc.zip
Should not follow symlinks on file path resolution (#1644)
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index f31efadd..047d1d17 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1930,7 +1930,7 @@ int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elf
     PrintCollection(&my_context->box64_path, "BOX64 BIN PATH");
     // lets build argc/argv stuff
     printf_log(LOG_INFO, "Looking for %s\n", prog);
-    my_context->argv[0] = ResolveFile(prog, &my_context->box64_path);
+    my_context->argv[0] = ResolveFileSoft(prog, &my_context->box64_path);
     // check if box86 is present
     {
         my_context->box86path = box_strdup(my_context->box64path);