diff options
author | Christian Hesse <mail@eworm.de> | 2024-03-05 15:59:22 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-03-12 15:27:15 +0100 |
commit | 56e97dd60c3c9603df07bb315587c44da1ff44fd (patch) | |
tree | 744397ca461dc182b0c3ef540e87d2d4c4f64d92 /global-functions.rsc | |
parent | 4004d713aa9c9ffeb5c317a5030e0e929d668460 (diff) |
global-functions: $DownloadPackage: do not exit from global function
Diffstat (limited to 'global-functions.rsc')
-rw-r--r-- | global-functions.rsc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc index 90148f8..b68fbaa 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -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); |