mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-26 16:19:32 +00:00
99_Utils.pm: fix misuse of Svn_GetFile (Format #113294)
git-svn-id: https://svn.fhem.de/fhem/trunk@22524 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
12b9f7d990
commit
4accf49203
@ -282,8 +282,10 @@ Svn_GetFile($$;$)
|
||||
print FH $_[2];
|
||||
close(FH);
|
||||
Log 1, "SVN download of $from to $to finished";
|
||||
&$finishFn if($finishFn);
|
||||
Log 1, $@ if($@);
|
||||
if($finishFn) {
|
||||
eval { &$finishFn; };
|
||||
Log 1, $@ if($@);
|
||||
}
|
||||
}});
|
||||
return "Download started, check the FHEM-log";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user