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:
commit
086d9677c0
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