0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00

Merge pull request #902 from sebgie/issue#871

This commit is contained in:
Hannah Wolfe 2013-09-26 15:46:37 +01:00
commit 086d9677c0

View file

@ -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)$/, ''));
});
});
};