aboutsummaryrefslogtreecommitdiffstats
path: root/netwatch-notify.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-02-26 08:13:34 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-02-28 23:01:43 +0100
commit1c2048628d68a94e08bfcae98f33bb0bce53a25c (patch)
treed1c2eb1dc872003872b06532b66eac097f6a8e4f /netwatch-notify.rsc
parent471e0ead051117f9c4de71f05d9af0f8d6750931 (diff)
netwatch-notify: use logical operator, no literal "and"
Just like we do everywhere else.
Diffstat (limited to 'netwatch-notify.rsc')
-rw-r--r--netwatch-notify.rsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwatch-notify.rsc b/netwatch-notify.rsc
index 77b0e69..d2a18ca 100644
--- a/netwatch-notify.rsc
+++ b/netwatch-notify.rsc
@@ -79,7 +79,7 @@ $ScriptLock $0;
:if ([ $IsDNSResolving ] = true) do={
:do {
:local Resolve [ :resolve ($HostInfo->"resolve") ];
- :if ($Resolve != $HostVal->"host" and \
+ :if ($Resolve != $HostVal->"host" && \
[ :len [ /ip/dns/cache/find where name=($HostInfo->"resolve") data=[ :tostr ($HostVal->"host") ] ] ] = 0) do={
$LogPrintExit2 info $0 ("Name '" . $HostInfo->"resolve" . [ $IfThenElse \
($HostInfo->"resolve" != $HostInfo->"name") ("' for " . $Type . " '" . \