From ece174c5439021e32ebcc858842de9586072c006 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 8 Sep 2015 23:03:38 +0200 Subject: tree-wide: drop {} from one-line if blocks Patch via coccinelle. --- src/update-utmp/update-utmp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/update-utmp/update-utmp.c') diff --git a/src/update-utmp/update-utmp.c b/src/update-utmp/update-utmp.c index a91c335381..b2998dce43 100644 --- a/src/update-utmp/update-utmp.c +++ b/src/update-utmp/update-utmp.c @@ -210,11 +210,9 @@ static int on_runlevel(Context *c) { runlevel > 0 ? runlevel : 'N') < 0) return log_oom(); - if (audit_log_user_comm_message(c->audit_fd, AUDIT_SYSTEM_RUNLEVEL, s, "systemd-update-utmp", NULL, NULL, NULL, 1) < 0 && - errno != EPERM) { + if (audit_log_user_comm_message(c->audit_fd, AUDIT_SYSTEM_RUNLEVEL, s, "systemd-update-utmp", NULL, NULL, NULL, 1) < 0 && errno != EPERM) r = log_error_errno(errno, "Failed to send audit message: %m"); - } } #endif -- cgit v1.2.3-54-g00ecf