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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue