- bugfix for endless loop on headless server when pressing control-D
This commit is contained in:
parent
0cf03a3562
commit
04b40ab476
|
@ -3259,6 +3259,8 @@ int glestMain(int argc, char** argv) {
|
|||
#endif
|
||||
{
|
||||
getline(cin, command);
|
||||
cin.clear();
|
||||
|
||||
printf("server command [%s]\n",command.c_str());
|
||||
if(command == "quit") {
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user