mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fix for sendmail problem
closes #871 - added solution from email - tested on OSX
This commit is contained in:
parent
4ad935e4f5
commit
3def65ee11
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ GhostMailer.prototype.detectSendmail = function () {
|
|||
if (err && !/bin\/sendmail/.test(stdout)) {
|
||||
return reject();
|
||||
}
|
||||
resolve(stdout.toString());
|
||||
resolve(stdout.toString().replace(/(\n|\r|\r\n)$/, ''));
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue