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:
Staale Smedseng 2009-05-25 18:21:40 +02:00
parent 981ff94d80
commit 986bcb5fc6

View File

@ -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