mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-06-21 01:25:52 +02:00
global-functions: $ScriptInstallUpdate: fix syntax error
This commit is contained in:
parent
86ad41f6b6
commit
4bd7d44cd2
1 changed files with 1 additions and 1 deletions
|
@ -1212,7 +1212,7 @@
|
||||||
:set SourceNew [ :tolf ($Result->"data") ];
|
:set SourceNew [ :tolf ($Result->"data") ];
|
||||||
}
|
}
|
||||||
} do={
|
} do={
|
||||||
$LogPrint warning $0 ("Failed fetching script '" . $ScriptVal->"name" . . "': " . $Err);
|
$LogPrint warning $0 ("Failed fetching script '" . $ScriptVal->"name" . "': " . $Err);
|
||||||
:if ($ScriptVal->"source" = "#!rsc by RouterOS\n") do={
|
:if ($ScriptVal->"source" = "#!rsc by RouterOS\n") do={
|
||||||
$LogPrint warning $0 ("Removing dummy. Typo on installation?");
|
$LogPrint warning $0 ("Removing dummy. Typo on installation?");
|
||||||
/system/script/remove $Script;
|
/system/script/remove $Script;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue