Browse Source

SC2086

pull/1863/head
Daniel Gibbs 7 years ago
parent
commit
cb38c8d4ed
  1. 4
      lgsm/functions/command_dev_detect_glibc.sh

4
lgsm/functions/command_dev_detect_glibc.sh

@ -28,8 +28,8 @@ elif [ -f "${serverfiles}" ]; then
fi
echo ""
files=$(find ${serverfiles} | wc -l)
find ${serverfiles} -type f -print0 |
files=$(find "${serverfiles}" | wc -l)
find "${serverfiles}" -type f -print0 |
while IFS= read -r -d $'\0' line; do
glibcversion=$(objdump -T "${line}" 2>/dev/null|grep -oP "GLIBC[^ ]+" |grep -v GLIBCXX|sort|uniq|sort -r --version-sort| head -n 1)
if [ "${glibcversion}" ]; then

Loading…
Cancel
Save