diff options
author | Martin Panter <vadmium à gmail·com> | 2012-10-23 13:32:56 +0000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-02-09 12:43:37 +1000 |
commit | 390b08f18b4ef550230f9f4749fb52254ccba6e5 (patch) | |
tree | 6d87b2adecf5a5bfebe60b0cd65be468e51d2e82 /src | |
parent | 9aead554bca6c95fe0ef6ec86c408e3300485024 (diff) |
Exit with failure status if download or installation is not confirmed
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-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; } |