Skip to content

Commit

Permalink
Compatibility with Debian 11, Fedora 34+ and openSUSE 15.4+
Browse files Browse the repository at this point in the history
  • Loading branch information
cabelo committed Apr 17, 2024
1 parent adadb4e commit 50190ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ prepare_tcmalloc() {
for lib in "${TCMALLOC_LIBS[@]}"
do
# Determine which type of tcmalloc library the library supports
TCMALLOC="$(PATH=/usr/sbin:$PATH ldconfig -p | grep -P $lib | head -n 1)"
TCMALLOC="$(PATH=/sbin:/usr/sbin:$PATH ldconfig -p | grep -P $lib | head -n 1)"
TC_INFO=(${TCMALLOC//=>/})
if [[ ! -z "${TC_INFO}" ]]; then
echo "Check TCMalloc: ${TC_INFO}"
Expand Down

0 comments on commit 50190ca

Please sign in to comment.