Skip to content

Commit

Permalink
Merge pull request AUTOMATIC1111#15544 from cabelo/master
Browse files Browse the repository at this point in the history
Compatibility with Debian 11, Fedora 34+ and openSUSE 15.4+
  • Loading branch information
AUTOMATIC1111 committed Apr 21, 2024
2 parents 8d6e72d + 50190ca commit ce19a7b
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 ce19a7b

Please sign in to comment.