global-functions: $DownloadPackage: do not exit from global function

This commit is contained in:
Christian Hesse 2024-03-05 15:59:22 +01:00
parent 4004d713aa
commit 56e97dd60c

View file

@ -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);