Make build script exit with non-zero status when sniff fails.