Skip to content

Commit ce19a7b

Browse files
Merge pull request AUTOMATIC1111#15544 from cabelo/master
Compatibility with Debian 11, Fedora 34+ and openSUSE 15.4+
2 parents 8d6e72d + 50190ca commit ce19a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webui.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ prepare_tcmalloc() {
243243
for lib in "${TCMALLOC_LIBS[@]}"
244244
do
245245
# Determine which type of tcmalloc library the library supports
246-
TCMALLOC="$(PATH=/usr/sbin:$PATH ldconfig -p | grep -P $lib | head -n 1)"
246+
TCMALLOC="$(PATH=/sbin:/usr/sbin:$PATH ldconfig -p | grep -P $lib | head -n 1)"
247247
TC_INFO=(${TCMALLOC//=>/})
248248
if [[ ! -z "${TC_INFO}" ]]; then
249249
echo "Check TCMalloc: ${TC_INFO}"

0 commit comments

Comments
 (0)