Bug #44736 mysqld_safe's my_which() is broken and
doesn't find 'logger' Due to a variable quoting mistake, the $PATH environment variable isn't parsed correctly when searching for the existence of the desired executable(s) (logger in this case). This patch removes the quotes.
This commit is contained in:
parent
981ff94d80
commit
986bcb5fc6
@ -67,7 +67,7 @@ my_which ()
|
|||||||
ret=0
|
ret=0
|
||||||
for file
|
for file
|
||||||
do
|
do
|
||||||
for dir in "$PATH"
|
for dir in $PATH
|
||||||
do
|
do
|
||||||
if [ -f "$dir/$file" ]
|
if [ -f "$dir/$file" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user