From: rettenbe Date: Wed, 16 Apr 2008 12:10:54 +0000 (+0000) Subject: no newline allowed in daemon_log X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4dc1f54e78a1bb4434555b02390b730996c2a062;p=gosa.git no newline allowed in daemon_log git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10506 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);