diff --git a/deluge/ui/console/main.py b/deluge/ui/console/main.py index be84926e1..a0afe82e0 100644 --- a/deluge/ui/console/main.py +++ b/deluge/ui/console/main.py @@ -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