Commit 986bcb5f authored by Staale Smedseng's avatar Staale Smedseng

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.
parent 981ff94d
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment