[common] debug: set the crash handler process name

This commit is contained in:
Geoffrey McRae
2026-07-29 11:29:57 +10:00
parent 6dd91a1269
commit 56ad487d0a
6 changed files with 37 additions and 12 deletions

View File

@@ -212,7 +212,7 @@ int main(int argc, char * argv[])
{
DEBUG_INFO("Looking Glass (" BUILD_VERSION ") - Client Profiler");
if (!installCrashHandler("/proc/self/exe"))
if (!installCrashHandler("/proc/self/exe", argv[0]))
DEBUG_WARN("Failed to install the crash handler");
option_register(options);