Skip to content

Commit 18293f7

Browse files
committed
fix sentry__path_copy check
1 parent e8a3609 commit 18293f7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/backends/native/sentry_crash_daemon.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3388,7 +3388,8 @@ sentry__process_crash(const sentry_options_t *options, sentry_crash_ipc_t *ipc)
33883388
sentry_path_t *run_report_path
33893389
= sentry__path_join_str(run_folder, "Report.wer");
33903390
if (!run_report_path
3391-
|| !sentry__path_copy(wer_report_path, run_report_path)) {
3391+
|| sentry__path_copy(wer_report_path, run_report_path)
3392+
!= 0) {
33923393
SENTRY_WARN("Failed to copy WER report");
33933394
}
33943395
sentry__path_free(run_report_path);

0 commit comments

Comments
 (0)