Skip to content

Commit

Permalink
qvm-template: default confirm to 'n'
Browse files Browse the repository at this point in the history
Capital 'N' in the prompt suggests it is the default - really make it
the default.
  • Loading branch information
marmarek committed Feb 19, 2021
1 parent e424c7d commit e6360da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesadmin/tools/qvm_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def confirm_action(msg: str, affected: typing.List[str]) -> None:
confirm = ''
while confirm != 'y':
confirm = input('Are you sure? [y/N] ').lower()
if confirm == 'n':
if confirm != 'y':
print('command cancelled.')
sys.exit(1)

Expand Down

0 comments on commit e6360da

Please sign in to comment.