Skip to content

Commit

Permalink
Merge branch 'development' into uid-gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech authored Jul 13, 2018
2 parents fcf75e2 + 9bc34e5 commit 5324c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pm2
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ commander.command('plus [secret] [public] [name]')
if (!name)
opts.name = require('os').hostname() + '-' + require('crypto').randomBytes(2).toString('hex')

if (sec == null && pub == null) {
if (sec == 'link' || sec == 'relink') {
return pm2._pre_interact(null, null, null, opts, function(err, dt) {
pm2.speedList()
})
Expand Down

0 comments on commit 5324c87

Please sign in to comment.