1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

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.


scripts/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:
unknown
2007-07-30 13:35:36 -06:00
parent c1df101f58
commit b635b2861f

View File

@ -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