mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 10:04:19 +02:00
mod/scriptrunonce: do not exit with error
This commit is contained in:
parent
c2dc8a0837
commit
0e2e7efdb2
|
@ -22,7 +22,7 @@
|
|||
:if (!($Script ~ "^(ftp|https?|sftp)://")) do={
|
||||
:if ([ :len $ScriptRunOnceBaseUrl ] = 0) do={
|
||||
$LogPrint warning $0 ("Script '" . $Script . "' is not an url and base url is not available.");
|
||||
:error false;
|
||||
:return false;
|
||||
}
|
||||
:set Script ($ScriptRunOnceBaseUrl . $Script . ".rsc" . $ScriptRunOnceUrlSuffix);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue