mod/scriptrunonce: always give proper return code

This commit is contained in:
Christian Hesse 2025-02-12 14:02:33 +01:00
parent 1c957dbc6d
commit 5715bc7b57

View file

@ -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;