Also handle alias for quit (exit)

This commit is contained in:
John Garland 2012-05-30 09:27:02 +10:00
parent 85cdbec10d
commit 0a6c2ee147

View File

@ -178,7 +178,7 @@ class ConsoleUI(component.Component):
for command in commands:
d.addCallback(do_command, command)
if "quit" not in commands:
if "quit" not in commands and "exit" not in commands:
d.addCallback(do_command, "quit")
# We need to wait for the rpcs in start() to finish before processing