1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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 7c4eb8c0d1
commit a1212080ad

View File

@ -67,7 +67,7 @@ my_which ()
ret=0
for file
do
for dir in "$PATH"
for dir in $PATH
do
if [ -f "$dir/$file" ]
then