summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-06-30 11:17:55 +0200
committerSergei Golubchik <serg@mariadb.org>2019-07-04 18:19:52 +0200
commit1003c76eb4151e602b0f25b941bdef3810396b7e (patch)
treee0f6315f5829a6e086d25b344f1f80371c271020 /scripts
parent971bef89ab533b5a7975efc44bf12a38fb0b1624 (diff)
downloadmariadb-git-1003c76eb4151e602b0f25b941bdef3810396b7e.tar.gz
fix incorrect shell usage
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysqld_safe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
index f21e697953f..c7e232673a4 100644
--- a/scripts/mysqld_safe.sh
+++ b/scripts/mysqld_safe.sh
@@ -754,7 +754,7 @@ safe_mysql_unix_port=${mysql_unix_port:-${MYSQL_UNIX_PORT:-@MYSQL_UNIX_ADDR@}}
mysql_unix_port_dir=`dirname $safe_mysql_unix_port`
if [ ! -d $mysql_unix_port_dir ]
then
- if ! `mkdir -p $mysql_unix_port_dir`
+ if ! mkdir -p $mysql_unix_port_dir
then
log_error "Fatal error Can't create database directory '$mysql_unix_port'"
exit 1