diff --git a/_info-bin.sh b/_info-bin.sh index 1d9bdd4dc..12c4c49e5 100755 --- a/_info-bin.sh +++ b/_info-bin.sh @@ -74,7 +74,7 @@ while [ -n "${1:-}" ]; do "${NM}" --extern-only --defined-only "${f}" # -g -U "${NM}" --extern-only --defined-only "${f}" | grep -a -F ' _curl_' | sort || false # -g -U # should not export anything else except the libcurl API - if ! "${NM}" --extern-only --defined-only "${f}" | grep -a -F -v ' T _curl_'; then + if "${NM}" --extern-only --defined-only "${f}" | grep -a -F -v ' T _curl_'; then echo "! '${f}' exports non-curl symbols." exit 1 fi