Skip to content

Commit 6dd6fe2

Browse files
committed
Add missing else
1 parent 47abf88 commit 6dd6fe2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_signal_interceptors.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ using namespace __sanitizer;
3838
"Warning: REAL(sigaction_symname) == nullptr. This may happen " \
3939
"if you link with ubsan statically. Sigaction will not work.\n"); \
4040
ret = -1; \
41+
} else { \
42+
ret = REAL(sigaction_symname)(signum, act, oldact); \
4143
} \
42-
ret = REAL(sigaction_symname)(signum, act, oldact); \
4344
}
4445
#endif
4546

0 commit comments

Comments
 (0)