mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $DownloadPackage: do not exit from global function
This commit is contained in:
parent
4004d713aa
commit
56e97dd60c
1 changed files with 2 additions and 1 deletions
|
@ -328,7 +328,8 @@
|
|||
}
|
||||
|
||||
:if ([ $CertificateAvailable "R3" ] = false) do={
|
||||
$LogPrintExit2 error $0 ("Downloading required certificate failed.") true;
|
||||
$LogPrintExit2 error $0 ("Downloading required certificate failed.") false;
|
||||
:return false;
|
||||
}
|
||||
|
||||
:local Url ("https://upgrade.mikrotik.com/routeros/" . $PkgVer . "/" . $PkgFile);
|
||||
|
|
Loading…
Reference in a new issue