mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $ScriptInstallUpdate: use complete property name
This commit is contained in:
parent
58a6fac3d9
commit
d63db7ea95
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@
|
|||
:local ScriptFile [ /file/find where name=("script-updates/" . $ScriptVal->"name") ];
|
||||
:local SourceNew;
|
||||
:if ([ :len $ScriptFile ] > 0) do={
|
||||
:set SourceNew [ /file/get $ScriptFile content ];
|
||||
:set SourceNew [ /file/get $ScriptFile contents ];
|
||||
/file/remove $ScriptFile;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue