Code

bugfix: watch_for_old_known_clients cause newline at timestamp in daemon_log
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Aug 2008 07:24:11 +0000 (07:24 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 19 Aug 2008 07:24:11 +0000 (07:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12241 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index 2678284e982b466ae7389af8a0b80b4c751badd8..f815130f14495db8883fdad8d6842b4f21d0973b 100755 (executable)
@@ -1902,7 +1902,7 @@ sub watch_for_old_known_clients {
                 );
 
         $dt->add( seconds => 2 * int($hit->{'keylifetime'}) );
-        $expired_timestamp = $dt->ymd('').$dt->hms('')."\n";
+        $expired_timestamp = $dt->ymd('').$dt->hms('');
         if ($act_time > $expired_timestamp) {
             my $hostname = $hit->{'hostname'};
             my $del_sql = "DELETE FROM $known_clients_tn WHERE hostname='$hostname'";