diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-12-07 01:58:21 +0100 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2009-12-07 01:58:21 +0100 |
commit | 45e205f4a6cf38ff0f8ade027a7b6a6c7376a00c (patch) | |
tree | af2f9c3b8792bf1c58ab2e5b156be7413d40f4e2 /tools/git-post-receive-hook | |
parent | 78fc8f4909750407585990aa10522d9510a69804 (diff) | |
download | monitoring-plugins-45e205f4a6cf38ff0f8ade027a7b6a6c7376a00c.tar.gz |
git-notify: Pipe e-mails directly to sendmail(8)
Use sendmail(8) instead of mail(1) in order to be able to set the
"Content-Type" header field on systems where the available mail(1)
command doesn't allow for setting it. This makes the "-H" flag (cf.
commit 71350c5a) unnecessary.
Diffstat (limited to 'tools/git-post-receive-hook')
-rwxr-xr-x | tools/git-post-receive-hook | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/git-post-receive-hook b/tools/git-post-receive-hook index fd1f8697..db9ad9ef 100755 --- a/tools/git-post-receive-hook +++ b/tools/git-post-receive-hook | |||
@@ -18,7 +18,6 @@ exec "$gitnotify" \ | |||
18 | -u "$gitweburl" \ | 18 | -u "$gitweburl" \ |
19 | -A \ | 19 | -A \ |
20 | -C \ | 20 | -C \ |
21 | -H \ | ||
22 | -S \ | 21 | -S \ |
23 | -T \ | 22 | -T \ |
24 | -X \ | 23 | -X \ |