From fd446bdf810a839b3b8cc7c99769ddd19f8e69b4 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Tue, 11 Mar 2008 08:15:08 +0000 Subject: [PATCH] after client finish installation, logs are saved at server git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9649 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-client | 3 --- gosa-si/server/events/clMessages.pm | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index e0e11bd43..52ad1818a 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -1018,9 +1018,6 @@ sub save_fai_log { my ($fai_log_dir) = @_ ; my $FAI_DIR; -print STDERR "===========================================\n"; -print STDERR "fai_log_dir: $fai_log_dir\n"; - opendir($FAI_DIR, $fai_log_dir); if (not defined $FAI_DIR) { daemon_log("ERROR: can not open directory $fai_log_dir: $!", 1); diff --git a/gosa-si/server/events/clMessages.pm b/gosa-si/server/events/clMessages.pm index 4e474d807..22249897e 100644 --- a/gosa-si/server/events/clMessages.pm +++ b/gosa-si/server/events/clMessages.pm @@ -92,7 +92,7 @@ sub save_fai_log { } my $time = &get_time; - $time = substr($time, 1, 8)."_".substr($time, 8, 6); + $time = substr($time, 0, 8)."_".substr($time, 8, 6); $client_fai_log_dir = File::Spec->catfile( $client_fai_log_dir, "install-$time" ); mkdir($client_fai_log_dir, 0755); -- 2.30.2