diff options
author | Martin Panter <vadmium à gmail·com> | 2012-10-23 15:32:56 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-02-09 03:43:37 +0100 |
commit | 390b08f18b4ef550230f9f4749fb52254ccba6e5 (patch) | |
tree | 6d87b2adecf5a5bfebe60b0cd65be468e51d2e82 | |
parent | 9aead554bca6c95fe0ef6ec86c408e3300485024 (diff) | |
download | pacman-390b08f18b4ef550230f9f4749fb52254ccba6e5.tar.gz pacman-390b08f18b4ef550230f9f4749fb52254ccba6e5.tar.xz |
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.c | 1 |
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; } |