Unverified Commit 458e2193 authored by Stefan Hornburg (Racke)'s avatar Stefan Hornburg (Racke)
Browse files

Fix logging of open file error in Config_XML's constructor.

parent 4e2730f4
......@@ -52,7 +52,7 @@ sub new {
$fh = $file;
} else {
unless (open $fh, '<', $file) {
$log->syslog('err', 'Can\'t open %s: $m', $file);
$log->syslog('err', 'Can\'t open %s: %s', $file, $!);
return bless {} => $class;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment