minor changes

This commit is contained in:
coderaiser 2012-09-17 10:15:57 -04:00
parent 01cc73188f
commit aead1c7b82

View file

@ -34,7 +34,7 @@ function readConfig(){
* not created, just init and
* all logs writed to screen
*/
if (process.argv[process.argv] === 'test') {
if (process.argv[process.argv.length - 1] === 'test') {
console.log(process.argv);
lConfig.server = false;
lConfig.logs = false;