We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73f0704 commit 700a65aCopy full SHA for 700a65a
src/sentry_os.c
@@ -348,11 +348,10 @@ sentry__get_os_context(void)
348
if (sentry_value_is_null(os_dist)) {
349
os_dist = get_linux_os_release("/usr/lib/os-release");
350
351
- sentry_value_set_by_key(os, "distribution", os_dist);
+ return os;
352
}
353
- } else {
354
355
+ sentry_value_set_by_key(os, "distribution", os_dist);
356
# endif // defined(SENTRY_PLATFORM_LINUX)
357
358
return os;
0 commit comments