diff options
-rw-r--r-- | netwatch-notify | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netwatch-notify b/netwatch-notify index f95f426..27e0759 100644 --- a/netwatch-notify +++ b/netwatch-notify @@ -126,7 +126,7 @@ $ScriptLock $0; :set ($Metric->"count-up") 0; :set ($Metric->"parent") ($HostInfo->"parent"); :set ($Metric->"since") ($HostVal->"since"); - :local CountDown [ $IfThenElse ([ :tonum ($HostInfo->"count-down") ] > 0) ($HostInfo->"count-down") 5 ]; + :local CountDown [ $IfThenElse ([ :tonum ($HostInfo->"count") ] > 0) ($HostInfo->"count") 5 ]; :local Parent ($HostInfo->"parent"); :local ParentUp false; :while ([ :len $Parent ] > 0) do={ |