summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e6f7ff7b3cb..d9c1a16e21a 100644
--- a/scripts/mysqld_safe.sh
+++ b/scripts/mysqld_safe.sh
@@ -363,7 +363,7 @@ then
USER_OPTION="--user=$user"
fi
# Change the err log to the right user, if it is in use
- if [ $syslog -eq 0 ]; then
+ if [ $want_syslog -eq 0 ]; then
touch $err_log
chown $user $err_log
fi