aboutsummaryrefslogtreecommitdiffstats
path: root/mod/scriptrunonce.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-08 17:52:07 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 20:37:57 +0100
commit0e2e7efdb223baa10d06b9f0d917fbe507264307 (patch)
tree524a3877a963ebbd271f100d7f7fc7cef69064e6 /mod/scriptrunonce.rsc
parentc2dc8a0837cd848512a8587f406f9dadd31b957c (diff)
mod/scriptrunonce: do not exit with error
Diffstat (limited to 'mod/scriptrunonce.rsc')
-rw-r--r--mod/scriptrunonce.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/scriptrunonce.rsc b/mod/scriptrunonce.rsc
index ffb1aff..85d465a 100644
--- a/mod/scriptrunonce.rsc
+++ b/mod/scriptrunonce.rsc
@@ -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);
}