fix startup message

This commit is contained in:
MATSUU Takuto 2013-12-26 14:22:00 +09:00
parent ec02cd6896
commit edbbdcff33

View File

@ -169,7 +169,7 @@ CLI.startup = function(platform) {
console.error(cst.PREFIX_MSG + 'You have to run this command as root');
console.error(cst.PREFIX_MSG + 'Execute the following command :');
if (platform === undefined) platform = '';
console.error(cst.PREFIX_MSG + 'sudo env PATH=$PATH:' + p.dirname(process.execPath) + ' pm2 startup ' + platform + '-u ' + stdout.trim());
console.error(cst.PREFIX_MSG + 'sudo env PATH=$PATH:' + p.dirname(process.execPath) + ' pm2 startup ' + platform + ' -u ' + stdout.trim());
process.exit(cst.ERROR_EXIT);
});
return;