diff --git a/nodebb b/nodebb index 25e38eff30..803ccd2100 100755 --- a/nodebb +++ b/nodebb @@ -408,7 +408,7 @@ var commands = { process.stdout.write(commands.activate.usage + '\n'); process.exit(); } - var arr = ['--activate=' + args._[1]].concat(process.argv.slice(4)); + var arr = ['--activate=' + name].concat(process.argv.slice(4)); fork(arr); }, },