As nothing in git-notify depends on the success of the mail(1) call, don't abort if it fails, just spit out a warning.
@@ -307,7 +307,7 @@ sub mail_notification($$$@)
}
binmode MAIL, ":utf8";
print MAIL join("\n", @text), "\n";
- close MAIL or die $! ? "Cannot execute $mailer: $!" : "$mailer exited with status: $?";
+ close MAIL or warn $! ? "Cannot execute $mailer: $!" : "$mailer exited with status: $?";