mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-03 01:34:32 +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