aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/global-functions b/global-functions
index 9977504..1dd4642 100644
--- a/global-functions
+++ b/global-functions
@@ -958,7 +958,7 @@
}
:if ($Count = 0) do={
- :set ($ScriptLockOrder->$Script);
+ :set ($ScriptLockOrder->$Script) [ :toarray "" ];
}
}
@@ -972,7 +972,7 @@
:if ([ $TicketCount $Script ] >= [ $JobCount $Script ]) do={
$LogPrintExit2 error $0 ("More tickets than running scripts '" . $Script . "', resetting!") false;
- :set ($ScriptLockOrder->$Script);
+ :set ($ScriptLockOrder->$Script) [ :toarray "" ];
/ system script job remove [ find where script=$Script ];
}