misc: make checks always fatal
This fixes #263.
Austin English authored 5 years ago
William Hubbs committed 5 years ago
20 | 20 | ret=0 |
21 | 21 | |
22 | 22 | fail_on_out() { |
23 | # If FATAL_CHECKS is set, then fail when $out has output: | |
24 | if [ -n "${FATAL_CHECKS}" ]; then | |
25 | if [ -n "${out}" ]; then | |
26 | eerror "Last command failed and FATAL_CHECKS is set; failing" | |
27 | exit 1 | |
28 | fi | |
29 | fi | |
23 | if [ -n "${out}" ]; then | |
24 | eerror "Last command failed; failing" | |
25 | exit 1 | |
26 | fi | |
30 | 27 | } |
31 | 28 | |
32 | 29 | ebegin "Checking exported symbols in libeinfo.so (data)" |