aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-05-15 20:29:15 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-05-15 20:29:15 +0200
commit77338563b742251c1a629dcf581f830b3c42eed2 (patch)
treedbc89d6c11af166cddba35e07535eafc8267adf9
parentb5d1e7aa833a747439f711610277edfceaa0a395 (diff)
global-functions: $MailServerIsUp: use prepared value
-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={