From 4927fcae48de061393b3ce9c12d49f80d73fbf1d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Aug 2010 01:43:23 +0200 Subject: audit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into a helper binary --- src/utmp-wtmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utmp-wtmp.c') diff --git a/src/utmp-wtmp.c b/src/utmp-wtmp.c index 45da79c681..46dfba336a 100644 --- a/src/utmp-wtmp.c +++ b/src/utmp-wtmp.c @@ -202,11 +202,11 @@ int utmp_put_runlevel(usec_t t, int runlevel, int previous) { previous = 0; } - - if (previous == runlevel) - return 0; } + if (previous == runlevel) + return 0; + init_entry(&store, t); store.ut_type = RUN_LVL; -- cgit v1.2.3-54-g00ecf