From e4422786ddfdae6cb94bc0926bb8035806076c1a Mon Sep 17 00:00:00 2001 From: rettenbe Date: Fri, 14 Mar 2008 15:16:05 +0000 Subject: [PATCH] bugfix: save_fai_log with more robustness git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9868 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/clMessages.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-si/server/events/clMessages.pm b/gosa-si/server/events/clMessages.pm index ed32cb150..69e8e0d7e 100644 --- a/gosa-si/server/events/clMessages.pm +++ b/gosa-si/server/events/clMessages.pm @@ -101,7 +101,7 @@ sub save_fai_log { my @all_logs = split(/log_file:/, $all_logs); foreach my $log (@all_logs) { if (length $log == 0) { next; }; - my ($log_file, $log_string) = split("\n", $log, 2); + my ($log_file, $log_string) = split(":", $log); my $client_fai_log_file = File::Spec->catfile( $client_fai_log_dir, $log_file); open(my $LOG_FILE, ">$client_fai_log_file"); -- 2.30.2