aboutsummaryrefslogtreecommitdiffstats
path: root/src/log-login-audit.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-30 12:52:12 +0100
committerMattias Andrée <maandree@operamail.com>2014-10-30 12:52:12 +0100
commitcdc00a3b731673880b40e11d3635983d4163c109 (patch)
tree373f5f267489f134e134803a7c285fd697a911ec /src/log-login-audit.c
parentadd manual (diff)
downloadcerberus-logging-cdc00a3b731673880b40e11d3635983d4163c109.tar.gz
cerberus-logging-cdc00a3b731673880b40e11d3635983d4163c109.tar.bz2
cerberus-logging-cdc00a3b731673880b40e11d3635983d4163c109.tar.xz
typo + whitespace + log failed login attempts with syslog1414669981
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/log-login-audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log-login-audit.c b/src/log-login-audit.c
index 2ddda77..67eae3f 100644
--- a/src/log-login-audit.c
+++ b/src/log-login-audit.c
@@ -28,7 +28,7 @@ int do_log(void)
if ((!streq(action, "failed")) && (!streq(action, "login")))
return 0;
-
+
status = streq(action, "login");
if (pwd = getpwnam(username), pwd == NULL) return -1;