bug en gulpfile si se cierra inesperadamente nging

This commit is contained in:
Javi Gallego 2018-02-07 12:14:41 +01:00
parent 6d4a4af3da
commit 7aa977e071
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ gulp.task('nginx-stop', ['nginx-conf'], async () => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
exec(command, err => { exec(command, err => {
if (err) return reject(err); if (err && err.code != 1) return reject(err);
resolve(); resolve();
}); });
}); });