mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 13:05:37 +00:00
Also handle alias for quit (exit)
This commit is contained in:
parent
85cdbec10d
commit
0a6c2ee147
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user