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:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user