From: rettenbe Date: Tue, 19 Aug 2008 07:24:11 +0000 (+0000) Subject: bugfix: watch_for_old_known_clients cause newline at timestamp in daemon_log X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df9483be597eb6d38b83561305d24408aaab10c6;p=gosa.git bugfix: watch_for_old_known_clients cause newline at timestamp in daemon_log git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12241 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 2678284e9..f815130f1 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -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'";