diff options
Diffstat (limited to 'voctocore')
-rw-r--r-- | voctocore/lib/commands.py | 2 | ||||
-rw-r--r-- | voctocore/lib/controlserver.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/voctocore/lib/commands.py b/voctocore/lib/commands.py index 92db70e..a5b6ab1 100644 --- a/voctocore/lib/commands.py +++ b/voctocore/lib/commands.py @@ -91,7 +91,7 @@ class ControlServerCommands(object): helplines.append(command_sig) - helplines.append('\t'+'quit') + helplines.append('\t'+'quit / exit') helplines.append("\n") helplines.append("Source-Names:") diff --git a/voctocore/lib/controlserver.py b/voctocore/lib/controlserver.py index 5544e7b..4c506be 100644 --- a/voctocore/lib/controlserver.py +++ b/voctocore/lib/controlserver.py @@ -49,7 +49,7 @@ class ControlServer(TCPMultiConnection): line = line.strip() # 'quit' = remote wants us to close the connection - if line == 'quit': + if line == 'quit' or line == 'exit': self.log.info("Client asked us to close the Connection") self.close_connection(conn) return False |