diff --git a/svn/ddclient b/svn/ddclient index 9bef661..69aa908 100755 --- a/svn/ddclient +++ b/svn/ddclient @@ -1403,7 +1403,7 @@ sub logger { sub sendmail { my $recipients = opt('mail'); - if (opt('mail-failure') && ($result ne 'OK' && $result != 0)) { + if (opt('mail-failure') && ($result ne 'OK' && $result ne '0')) { $recipients = opt('mail-failure'); } if ($msgs && $recipients && $msgs ne $last_msgs) {