From d6737c18538c2c5eba3494e7a13f2eb0c1594f05 Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Wed, 6 Aug 2008 11:53:25 +0000 Subject: [PATCH] update pam_unix2 patch --- logwatch-7.3.6-pam_unix2.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/logwatch-7.3.6-pam_unix2.patch b/logwatch-7.3.6-pam_unix2.patch index f576f5b..21b04f2 100644 --- a/logwatch-7.3.6-pam_unix2.patch +++ b/logwatch-7.3.6-pam_unix2.patch @@ -1,6 +1,6 @@ diff -up logwatch-7.3.6/scripts/services/pam_unix.pom logwatch-7.3.6/scripts/services/pam_unix ---- logwatch-7.3.6/scripts/services/pam_unix.pom 2007-10-10 14:24:10.000000000 +0200 -+++ logwatch-7.3.6/scripts/services/pam_unix 2007-10-10 14:24:37.000000000 +0200 +--- logwatch-7.3.6/scripts/services/pam_unix.pom 2008-08-06 13:51:48.000000000 +0200 ++++ logwatch-7.3.6/scripts/services/pam_unix 2008-08-06 13:51:48.000000000 +0200 @@ -265,7 +265,7 @@ while ($line = ) { } else { $data{$service}{'Unknown Entries'}{$line}++; @@ -9,4 +9,4 @@ diff -up logwatch-7.3.6/scripts/services/pam_unix.pom logwatch-7.3.6/scripts/ser + } elsif (($service eq 'runuser') or ($service eq 'runuser-l')){ if ($line =~ s/^session opened for user (.+)/$1/) { $data{$service}{'Sessions Opened'}{$line}++; - } elsif ($line =~ s/^session closed for user (.+)/$1/) { + } elsif ($line =~ /session closed for user/) {