logger: improve readability [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
7ff635bff4
commit
28bad822c4
|
@ -243,7 +243,7 @@ static int unix_socket(struct logger_ctl *ctl, const char *path, const int socke
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
if (ctl->unix_socket_errors)
|
if (ctl->unix_socket_errors)
|
||||||
err(EXIT_FAILURE, _("socket %s"), path);
|
err(EXIT_FAILURE, _("socket %s"), path);
|
||||||
else
|
|
||||||
/* openlog(3) compatibility, socket errors are
|
/* openlog(3) compatibility, socket errors are
|
||||||
* not reported, but ignored silently */
|
* not reported, but ignored silently */
|
||||||
ctl->noact = 1;
|
ctl->noact = 1;
|
||||||
|
|
Loading…
Reference in New Issue