Skip to content

Commit eb80002

Browse files
committed
Add warning message on failed Geekbench/CentOS7 (#71)
1 parent 0a07c87 commit eb80002

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: yabs.sh

+4
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,10 @@ function launch_geekbench {
904904

905905
# ensure the test ran successfully
906906
if [ -z "$GEEKBENCH_TEST" ]; then
907+
# detect if CentOS 7 and print a more helpful error message
908+
if grep -q "CentOS Linux 7" /etc/os-release; then
909+
echo -e "\r\033[0K CentOS 7 and Geekbench have known issues relating to glibc (see issue #71 for details)"
910+
fi
907911
if [[ -z "$IPV4_CHECK" ]]; then
908912
# Geekbench test failed to download because host lacks IPv4 (cdn.geekbench.com = IPv4 only)
909913
echo -e "\r\033[0KGeekbench releases can only be downloaded over IPv4. FTP the Geekbench files and run manually."

0 commit comments

Comments
 (0)