mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $DownloadPackage: do not exit from global function
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user