From e185c90bc02e94b38df84d697e659472807f7cf3 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sun, 21 Oct 2012 06:54:16 -0400 Subject: [PATCH] minor changes --- cloudcmd.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cloudcmd.js b/cloudcmd.js index 54334b75..415c15e3 100644 --- a/cloudcmd.js +++ b/cloudcmd.js @@ -8,7 +8,7 @@ var LIBDIRSERVER = './lib/server/', var Config = readConfig(); -Config ? Server.start(Config) : Server.start(); +Server.start(Config); if(update) update.get(); @@ -52,11 +52,10 @@ function readConfig(){ console.log('log param setted up in config.json\n' + 'from now all logs will be writed to log.txt'); writeLogsToFile(); - } - - return lConfig; + } } - else return false; + + return lConfig; } /* function sets stdout to file log.txt */