From aead1c7b82806525c6d85016267887c8a02c0cb6 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 17 Sep 2012 10:15:57 -0400 Subject: [PATCH] minor changes --- cloudcmd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudcmd.js b/cloudcmd.js index 401ba857..525bdaf9 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -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;