From: rettenbe Date: Sat, 8 Nov 2008 08:46:13 +0000 (+0000) Subject: adjust regex in gosa-si looking for seen user messages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=29a3fe3d8b574ff5c3c102aca1e60467c20482dd;p=gosa.git adjust regex in gosa-si looking for seen user messages git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12975 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index 933b2fa4a..83ff2b2b4 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -782,7 +782,7 @@ sub trigger_seen_messages { # Select all files under /tmp with prefix 'goto_notify' my $goto_dir = "/tmp"; opendir(DIR, $goto_dir); - my @goto_files = grep { /^goto_notify_/ && -f "$goto_dir/$_" } readdir(DIR); + my @goto_files = grep { /.goto_notify$/ && -f "$goto_dir/$_" } readdir(DIR); closedir DIR; # Check if file has 'seen' tag