summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f5784c1)
raw | patch | inline | side by side (parent: f5784c1)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Dec 2008 16:08:53 +0000 (16:08 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Dec 2008 16:08:53 +0000 (16:08 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13214 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-client | patch | blob | history |
diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client
index 277d2555e188debf0d42e6599dd4e767d06d5a7c..fce41df0a418b5b489976384bb8ce583c5c4f6ac 100755 (executable)
--- a/gosa-si/gosa-si-client
+++ b/gosa-si/gosa-si-client
my ($fai_log_dir) = @_ ;
my $FAI_DIR;
+ # Directory for log files after a softupdate
my $log_dir = File::Spec->catdir($fai_log_dir, "localhost/last");
if (not -d $log_dir) {
- daemon_log("ERROR: cannot open directory $log_dir", 1);
- return;
+ # Directory for log files after a new installation
+ $log_dir = "/tmp/fai";
+ if (not -d $log_dir) {
+ daemon_log("ERROR: cannot open directory $log_dir", 1);
+ return;
+ }
}
opendir($FAI_DIR, "$log_dir");