diff options
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp')
-rw-r--r-- | Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp index ed29cbd10d..6b43e9ce45 100644 --- a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp +++ b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp @@ -1229,10 +1229,10 @@ int Emulator::virt$execve(FlatPtr params_addr) Vector<char*> envp; argv.append(const_cast<char*>("/bin/UserspaceEmulator")); - argv.append(const_cast<char*>(path.characters())); if (g_report_to_debug) argv.append(const_cast<char*>("--report-to-debug")); argv.append(const_cast<char*>("--")); + argv.append(const_cast<char*>(path.characters())); auto create_string_vector = [](auto& output_vector, auto& input_vector) { for (auto& string : input_vector) |