summaryrefslogtreecommitdiff
path: root/scripts/safe_mysqld.sh
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-08-02 21:19:47 -0600
committerunknown <sasha@mysql.sashanet.com>2000-08-02 21:19:47 -0600
commita72dcd5252d39705ef257a28c065b62f8b8f92b5 (patch)
tree0b20003204634924ad1c6737a4834120445a9911 /scripts/safe_mysqld.sh
parenta1ec137a80b71df015897629c233524463e6b896 (diff)
downloadmariadb-git-a72dcd5252d39705ef257a28c065b62f8b8f92b5.tar.gz
Fixed the mess created when I did LOD branch on accident
scripts/safe_mysqld.sh: merged Tim's change fixing up the mess I've made
Diffstat (limited to 'scripts/safe_mysqld.sh')
-rwxr-xr-xscripts/safe_mysqld.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/safe_mysqld.sh b/scripts/safe_mysqld.sh
index a5ea4635ab9..1f481f07fed 100755
--- a/scripts/safe_mysqld.sh
+++ b/scripts/safe_mysqld.sh
@@ -21,7 +21,7 @@ esac
# Parse arguments to see if caller wants the pid_file somewhere else.
parse_arguments() {
- for arg; do
+ for arg in "$@"; do
case $arg in
--datadir=*) DATADIR=`echo "$arg" | sed -e "s;--datadir=;;"` ;;
--pid-file=*) pid_file=`echo "$arg" | sed -e "s;--pid-file=;;"` ;;