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.
This commit is contained in:
tsmith@ramayana.hindu.god 2007-07-30 13:35:36 -06:00
parent 8e6761034d
commit 950a482a4b

View File

@ -302,8 +302,8 @@ then
my_which logger > /dev/null 2>&1
if [ $? -ne 0 ]
then
log_error "--syslog requested, but no 'logger' program found."
want_syslog=0
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."
exit 1
fi
fi