381401 Print log warning when stop attempt made with incorrect STOP.KEY
This commit is contained in:
parent
40014a93d0
commit
9d7fc6975b
|
@ -99,7 +99,10 @@ public class Monitor extends Thread
|
|||
new LineNumberReader(new InputStreamReader(socket.getInputStream()));
|
||||
String key=lin.readLine();
|
||||
if (!_key.equals(key))
|
||||
{
|
||||
System.err.println("Ignoring command with incorrect key");
|
||||
continue;
|
||||
}
|
||||
|
||||
String cmd=lin.readLine();
|
||||
Config.debug("command=" + cmd);
|
||||
|
|
Loading…
Reference in New Issue