diff --git a/ci_scripts/run_thread_sanitizer.sh b/ci_scripts/run_thread_sanitizer.sh index ba23b48..0bb65f7 100755 --- a/ci_scripts/run_thread_sanitizer.sh +++ b/ci_scripts/run_thread_sanitizer.sh @@ -7,7 +7,7 @@ make # run the actual tests with sanitizer enabled, reporting the result TSAN_OPTIONS="log_path=sanitizer.log exitcode=1" ./bin/tests -STATUS_CODE=?$ +STATUS_CODE=$? # rename the output log... mv sanitizer.log.* sanitizer.log