diff --git a/lib/server/socket.js b/lib/server/socket.js index 341e261c..f72e116c 100644 --- a/lib/server/socket.js +++ b/lib/server/socket.js @@ -132,8 +132,10 @@ if( Util.isContainStrAtBegin(pCommand, ' ') ) { pCommand = Util.removeStr(pCommand, ' '); - if( Util.isContainStrAtBegin(pCommand, 'update') && update ) + if( Util.isContainStrAtBegin(pCommand, 'update') && update ) { update.get(); + lRet = true; + } if( Util.strCmp(pCommand, 'exit') ) if(WIN32) @@ -148,8 +150,7 @@ stderr : null }); - Util.log('received from client: ' + pCommand); - Util.log('sended to client: ' + lMsg); + lRet = true; } } else if( Util.isContainStrAtBegin(pCommand, 'cd ') ) { lDir = Util.removeStr(pCommand, 'cd ');