Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Sympa
Commits
458e2193
Unverified
Commit
458e2193
authored
Mar 06, 2020
by
Stefan Hornburg (Racke)
Browse files
Fix logging of open file error in Config_XML's constructor.
parent
4e2730f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/Config_XML.pm
View file @
458e2193
...
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment