diff options
-rw-r--r-- | global-functions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/global-functions b/global-functions index 3dba487..42e5fcf 100644 --- a/global-functions +++ b/global-functions @@ -317,8 +317,10 @@ :local MailServer [ / tool e-mail get address ]; :local MailHost $MailServer; + :global LogPrintExit; + :if ([ / tool netwatch print count-only where comment=$MailServer ] = 0) do={ - :log warning ("Adding netwatch entry for mail server."); + $LogPrintExit warning ("Adding netwatch entry for mail server.") false; :local MailHost $MailServer; :if ([ :typeof [ :toip $MailHost ] ] != "ip" ) do={ :set MailHost [ :resolve $MailServer ]; |