From 2db31011396708b9c91bd7b28db5b2df327f9f70 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 10 Dec 2012 05:30:12 -0500 Subject: [PATCH] minor changes --- lib/server.js | 2 +- lib/server/socket.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/server.js b/lib/server.js index c25cffd4..04c36819 100644 --- a/lib/server.js +++ b/lib/server.js @@ -146,7 +146,7 @@ this.Config.ip; if(!this.IP) - this.IP = main.Win32 ? '127.0.0.1' : '0.0.0.0'; + this.IP = main.WIN32 ? '127.0.0.1' : '0.0.0.0'; /* server mode or testing mode */ if (lConfig.server) { diff --git a/lib/server/socket.js b/lib/server/socket.js index 20579ca7..a01346f5 100644 --- a/lib/server/socket.js +++ b/lib/server/socket.js @@ -61,7 +61,7 @@ if( Util.strCmp(pCommand, 'exit') ) if(main.WIN32) - pCommand = 'taskkill /PID ' + process.pid; + pCommand = 'taskkill -f /PID ' + process.pid; else pCommand = 'kill -9 ' + process.pid; }