Commit f4061916 authored by Olav Kvittem's avatar Olav Kvittem
Browse files

Open xml file with error message.

parent e8d57777
......@@ -353,7 +353,7 @@ sub end_xml{
my ($date,$time) = &get_date_time();
$filename = $opt_xml;
$filename = $date."_".$time.".xml" if $opt_xml eq "date_time";
open (MYFILE, '>'.$filename);
open (MYFILE, '>'.$filename) || die "Could not open $filename : $!";
my $final_xml = $doc->toString();
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