Exit without setting error code on keyboard interrupt
This commit is contained in:
parent
a4761f92d3
commit
fb317b4fb8
@ -96,7 +96,7 @@ if __name__ == "__main__":
|
|||||||
try:
|
try:
|
||||||
selected_file = fzf.select_file_with_fzf(files)
|
selected_file = fzf.select_file_with_fzf(files)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
exit(error.E_INTERRUPT)
|
exit()
|
||||||
except fzf.FZFError as e:
|
except fzf.FZFError as e:
|
||||||
print(e)
|
print(e)
|
||||||
exit(e.exit_code)
|
exit(e.exit_code)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user