diff options
author | Staale Smedseng <staale.smedseng@sun.com> | 2009-05-25 18:21:40 +0200 |
---|---|---|
committer | Staale Smedseng <staale.smedseng@sun.com> | 2009-05-25 18:21:40 +0200 |
commit | a1212080ade9197bfb8c6653bed5af71b83af04a (patch) | |
tree | 308588f01c39113b83a8336c462dd78e9aa7e98c /scripts | |
parent | 7c4eb8c0d17fc68da2ab58ee3ace88ea38e48515 (diff) | |
download | mariadb-git-a1212080ade9197bfb8c6653bed5af71b83af04a.tar.gz |
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.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysqld_safe.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh index 34dc019a82a..23b5efcaf2b 100644 --- a/scripts/mysqld_safe.sh +++ b/scripts/mysqld_safe.sh @@ -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 |