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
1 changed files with 1 additions and 0 deletions

View File

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