summaryrefslogtreecommitdiffstats
path: root/fusioninventory-agent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fusioninventory-agent.patch')
-rw-r--r--fusioninventory-agent.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/fusioninventory-agent.patch b/fusioninventory-agent.patch
new file mode 100644
index 0000000..b229fcf
--- /dev/null
+++ b/fusioninventory-agent.patch
@@ -0,0 +1,11 @@
+--- lib/FusionInventory/LoggerBackend/File.pm.orig 2010-08-16 18:59:25.573441022 +0200
++++ lib/FusionInventory/LoggerBackend/File.pm 2010-08-16 18:59:44.390565256 +0200
+@@ -57,6 +57,8 @@
+
+ return if $message =~ /^$/;
+
++ $self->open() unless stat($handle);
++
+ $self->watchSize();
+
+ print $handle "[".localtime()."][$level] $message\n";