mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
(fix) allow 'none' script #2611
This commit is contained in:
parent
c3b1814775
commit
7939d2ec24
@ -81,7 +81,7 @@ Common.prepareAppConf = function(opts, app) {
|
||||
/**
|
||||
* Minimum validation
|
||||
*/
|
||||
if (!app.script)
|
||||
if (!app.script && app.script !== 'none')
|
||||
return new Error('No script path - aborting');
|
||||
|
||||
// Forbidden application name
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user