mysqld_safe.sh:

  Post-review fix, if 'logger' can't be found, and --syslog is requested, exit with error message instead of fall back to logging to error file.
parent 8e676103
...@@ -302,8 +302,8 @@ then ...@@ -302,8 +302,8 @@ then
my_which logger > /dev/null 2>&1 my_which logger > /dev/null 2>&1
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
log_error "--syslog requested, but no 'logger' program found." log_error "--syslog requested, but no 'logger' program found. Please ensure that 'logger' is in your PATH, or do not specify the --syslog option to mysqld_safe."
want_syslog=0 exit 1
fi fi
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment