aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--global-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions b/global-functions
index c234d5a..c7a0aaf 100644
--- a/global-functions
+++ b/global-functions
@@ -341,7 +341,7 @@
:if ([ :typeof [ :toip $MailHost ] ] != "ip" ) do={
:set MailHost [ :resolve $MailServer ];
}
- / tool netwatch add comment=$MailServer host=[ :resolve $MailServer ];
+ / tool netwatch add comment=$MailServer host=$MailHost;
}
:if ([ / tool netwatch get [ find where comment=$MailServer ] status ] = "up") do={