From 77338563b742251c1a629dcf581f830b3c42eed2 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 15 May 2020 20:29:15 +0200 Subject: global-functions: $MailServerIsUp: use prepared value --- global-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'global-functions') 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={ -- cgit v1.2.3-70-g09d2