From eb80002b462528f86ba9218f14a0c0807ad75c95 Mon Sep 17 00:00:00 2001 From: Mason Rowe Date: Mon, 4 Mar 2024 00:45:00 -0500 Subject: [PATCH] Add warning message on failed Geekbench/CentOS7 (#71) --- yabs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yabs.sh b/yabs.sh index 8f7ea9c..6862cec 100644 --- a/yabs.sh +++ b/yabs.sh @@ -904,6 +904,10 @@ function launch_geekbench { # ensure the test ran successfully if [ -z "$GEEKBENCH_TEST" ]; then + # detect if CentOS 7 and print a more helpful error message + if grep -q "CentOS Linux 7" /etc/os-release; then + echo -e "\r\033[0K CentOS 7 and Geekbench have known issues relating to glibc (see issue #71 for details)" + fi if [[ -z "$IPV4_CHECK" ]]; then # Geekbench test failed to download because host lacks IPv4 (cdn.geekbench.com = IPv4 only) echo -e "\r\033[0KGeekbench releases can only be downloaded over IPv4. FTP the Geekbench files and run manually."