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:
@ -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
|
||||
|
Reference in New Issue
Block a user