1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-05 09:05:03 -05:00

Exit with failure status if download or installation is not confirmed

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Martin Panter 2012-10-23 13:32:56 +00:00 committed by Allan McRae
parent 9aead554bc
commit 390b08f18b

View File

@ -871,6 +871,7 @@ int sync_prepare_execute(void)
confirm = yesno(_("Proceed with installation?"));
}
if(!confirm) {
retval = 1;
goto cleanup;
}