mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
fix startup message
This commit is contained in:
parent
ec02cd6896
commit
edbbdcff33
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user