From 4dc1f54e78a1bb4434555b02390b730996c2a062 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Wed, 16 Apr 2008 12:10:54 +0000 Subject: [PATCH] no newline allowed in daemon_log git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10506 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 1 + 1 file changed, 1 insertion(+) diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 554f0915c..dfe8cb85b 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -285,6 +285,7 @@ sub daemon_log { print STDERR "cannot open $log_file: $!"; return } chomp($msg); + $msg =~s/\n//g; # no newlines are allowed in log messages, this is important for later log parsing if($level <= $verbose){ my ($seconds, $minutes, $hours, $monthday, $month, $year, $weekday, $yearday, $sommertime) = localtime(time); -- 2.30.2