mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-03 09:19:00 +00:00
#524: Exit with 1
if no fixed command selected
This commit is contained in:
parent
77ea630d84
commit
9b6cd0cd7b
@ -33,6 +33,8 @@ def fix_command():
|
|||||||
|
|
||||||
if selected_command:
|
if selected_command:
|
||||||
selected_command.run(command)
|
selected_command.run(command)
|
||||||
|
else:
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
def print_alias(entry_point=True):
|
def print_alias(entry_point=True):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user