diff options
Diffstat (limited to 'check-health')
-rw-r--r-- | check-health | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/check-health b/check-health index ec89545..bf0e441 100644 --- a/check-health +++ b/check-health @@ -18,6 +18,7 @@ :global Identity; :global LogPrintExit2; +:global ScriptLock; :global SendNotification2; :global SymbolForNotification; @@ -36,6 +37,8 @@ :set CheckHealthTemperatureNotified [ :toarray "" ]; } +$ScriptLock $0; + :foreach Name,Voltage in=$CheckHealthCurrent do={ :if ($Name ~ "(battery|voltage)" && \ [ :typeof ($CheckHealthLast->$Name) ] = "num" && \ |