qvm-template: default confirm to 'n'

Capital 'N' in the prompt suggests it is the default - really make it
the default.
This commit is contained in:
Marek Marczykowski-Górecki 2021-02-19 01:12:26 +01:00
父節點 e424c7df9c
當前提交 e6360da22e
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 063938BA42CFA724

查看文件

@ -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)