mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-04 18:24:35 +02:00
mod/scriptrunonce: always give proper return code
This commit is contained in:
parent
1c957dbc6d
commit
5715bc7b57
1 changed files with 3 additions and 0 deletions
|
@ -46,7 +46,10 @@
|
|||
[ :parse $Source ];
|
||||
} on-error={
|
||||
$LogPrint warning $0 ("The script '" . $Script . "' failed to run!");
|
||||
:return false;
|
||||
}
|
||||
|
||||
:return true;
|
||||
}
|
||||
} on-error={
|
||||
:global ExitError; $ExitError false $0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue