Explorar o código

added info_distro.sh

Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
c206d691fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/check_glibc.sh

+ 1 - 1
lgsm/functions/check_glibc.sh

@@ -7,8 +7,8 @@ lgsm_version="020116"
 # Description: Checks if server has correct glibc or has a fix available.
 
 info_glibc.sh
+info_distro.sh
 
-glibcversion="$(ldd --version | sed -n '1s/.* //p')"
 if [ "$(printf '%s\n${glibcrequired}\n' ${glibcversion} | sort -V | head -n 1)" == "${glibcrequired}" ]; then
 	if [ "${glibcfix}" != "yes" ]; then 
 		fn_print_warn_nl "Glibc fix: No Glibc fix available!"