mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-11 11:55:12 -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:
parent
9aead554bc
commit
390b08f18b
@ -871,6 +871,7 @@ int sync_prepare_execute(void)
|
|||||||
confirm = yesno(_("Proceed with installation?"));
|
confirm = yesno(_("Proceed with installation?"));
|
||||||
}
|
}
|
||||||
if(!confirm) {
|
if(!confirm) {
|
||||||
|
retval = 1;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user