Commit ae753444 by RealFatCat

Exit by pressing Ctrl+D

parent 2ec62d3f
...@@ -86,7 +86,7 @@ class BaseInterpreter(object): ...@@ -86,7 +86,7 @@ class BaseInterpreter(object):
command_handler(args) command_handler(args)
except RoutersploitException as err: except RoutersploitException as err:
utils.print_error(err) utils.print_error(err)
except KeyboardInterrupt: except (KeyboardInterrupt, EOFError):
print() print()
utils.print_status("routersploit stopped") utils.print_status("routersploit stopped")
break break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment