diff --git a/lgsm/functions/info_glibc.sh b/lgsm/functions/info_glibc.sh index 12ae50bee..e23aaf0f1 100644 --- a/lgsm/functions/info_glibc.sh +++ b/lgsm/functions/info_glibc.sh @@ -5,6 +5,5 @@ # Description: Stores details on servers Glibc requirements. local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -echo "${serverlist}" -echo "${shortname}" + glibcrequired=$(awk -F "," '{ print $1","$5 }' "${serverlist}" | grep -w "${shortname}" | awk -F "," '{ print $2 }')