From: rettenbe Date: Fri, 14 Mar 2008 15:16:05 +0000 (+0000) Subject: bugfix: save_fai_log with more robustness X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e4422786ddfdae6cb94bc0926bb8035806076c1a;p=gosa.git bugfix: save_fai_log with more robustness git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9868 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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");