File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ PSORNOT1=$(${BIN} --version | grep -oi 'Percona' | sed 's|p|P|' | head -n1)
116116PSORNOT2=$( ${BIN} --version | grep -oi ' 5.7.[0-9]\+-[0-9]' | cut -f2 -d' -' | head -n1) ; if [ " ${PSORNOT2} " == " " ]; then PSORNOT2=0; fi
117117if [ " ${SKIP_JEMALLOC_FOR_PS} " != " 1" ]; then
118118 if [ " ${PSORNOT1} " == " Percona" ] || [ ${PSORNOT2} -ge 1 ]; then
119- if [ -r ` sudo find /usr/* lib* / -name libjemalloc.so.1 | head -n1` ]; then
120- export LD_PRELOAD=` sudo find /usr/* lib* / -name libjemalloc.so.1 | head -n1`
119+ if [ -r ` find /usr/* lib* / -name libjemalloc.so.1 | head -n1` ]; then
120+ export LD_PRELOAD=` find /usr/* lib* / -name libjemalloc.so.1 | head -n1`
121121 else
122122 echoit " Assert! Binary (${BIN} reported itself as Percona Server, yet jemalloc was not found, please install it!" ;
123123 echoit " For Centos7 you can do this by: sudo yum -y install epel-release; sudo yum -y install jemalloc;"
You can’t perform that action at this time.
0 commit comments