diff options
-rw-r--r-- | global-functions | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/global-functions b/global-functions index d9d180a..6f4ffbb 100644 --- a/global-functions +++ b/global-functions @@ -632,7 +632,11 @@ } :if ($ScriptVal->"name" = "global-functions") do={ $LogPrintExit info ("Reloading global functions.") false; - / system script run global-functions; + :do { + / system script run global-functions; + } on-error={ + $LogPrintExit error ("Reloading global functions failed!") false; + } } } else={ $LogPrintExit debug ("Script " . $ScriptVal->"name" . " did not change.") false; |