From df9483be597eb6d38b83561305d24408aaab10c6 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Tue, 19 Aug 2008 07:24:11 +0000 Subject: [PATCH] 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 --- gosa-si/gosa-si-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'"; -- 2.30.2