logger: --stderr and --no-act turn "auto-errors" on
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
This commit is contained in:
parent
25156ba16b
commit
bcf7e14939
1 changed files with 2 additions and 3 deletions
|
@ -914,10 +914,9 @@ int main(int argc, char **argv)
|
|||
ctl.unix_socket_errors = 1;
|
||||
break;
|
||||
case AF_UNIX_ERRORS_AUTO:
|
||||
ctl.unix_socket_errors = ctl.noact || ctl.stderr_printout;
|
||||
#ifdef HAVE_LIBSYSTEMD
|
||||
ctl.unix_socket_errors = sd_booted();
|
||||
#else
|
||||
ctl.unix_socket_errors = 0;
|
||||
ctl.unix_socket_errors |= !!sd_booted();
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue