mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
f21d4a0657
commit
2db3101139
2 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue