log_error "--syslog requested, but no 'logger' program found."
want_syslog=0
fi
fi
if[-n"$err_log"-o$want_syslog-eq 0 ]
then
then
if[-n"$err_log"]
if[-n"$err_log"]
then
then
...
@@ -279,14 +334,25 @@ then
...
@@ -279,14 +334,25 @@ then
append_arg_to_args "--log-error=$err_log"
append_arg_to_args "--log-error=$err_log"
if[$syslog-eq 1 ]
if[$want_syslog-eq 1 ]
then
then
# User explicitly asked for syslog, so warn that it isn't used
# User explicitly asked for syslog, so warn that it isn't used
log_error "Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect. Logging to '$err_log'."
log_error "Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect."
fi
fi
# Don't use syslog since syslog and error log don't mix well