aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/git-notify2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/git-notify b/tools/git-notify
index 548f7da9..265f37b1 100755
--- a/tools/git-notify
+++ b/tools/git-notify
@@ -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: $?";
}
}