1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

packages-update: add missing colon

This commit is contained in:
Christian Hesse
2021-04-29 14:52:38 +02:00
parent 7ed54a4fe7
commit 6f7ecaeec4

View File

@@ -47,7 +47,7 @@ $ScriptLock $0;
:foreach Package in=[ / system package find where !bundle ] do={
:local PkgName [ / system package get $Package name ];
if ([ $DownloadPackage $PkgName ($Update->"latest-version") ] = false) do={
:if ([ $DownloadPackage $PkgName ($Update->"latest-version") ] = false) do={
$LogPrintExit2 error $0 ("Download for package " . $PkgName . " failed.") true;
}
}