Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Panter <vadmium à gmail·com>2012-10-23 13:32:56 +0000
committerAllan McRae <allan@archlinux.org>2013-02-09 12:43:37 +1000
commit390b08f18b4ef550230f9f4749fb52254ccba6e5 (patch)
tree6d87b2adecf5a5bfebe60b0cd65be468e51d2e82
parent9aead554bca6c95fe0ef6ec86c408e3300485024 (diff)
Exit with failure status if download or installation is not confirmed
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/sync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 3decc40d..417773dc 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -871,6 +871,7 @@ int sync_prepare_execute(void)
confirm = yesno(_("Proceed with installation?"));
}
if(!confirm) {
+ retval = 1;
goto cleanup;
}