From 390b08f18b4ef550230f9f4749fb52254ccba6e5 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Tue, 23 Oct 2012 13:32:56 +0000 Subject: Exit with failure status if download or installation is not confirmed Signed-off-by: Allan McRae --- src/pacman/sync.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3-70-g09d2