summaryrefslogtreecommitdiffstats
path: root/src/pacman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman.c')
-rw-r--r--src/pacman.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pacman.c b/src/pacman.c
index 8e6e4d19..c8f46fcd 100644
--- a/src/pacman.c
+++ b/src/pacman.c
@@ -1081,7 +1081,8 @@ int pacman_sync(pacdb_t *db, PMList *targets)
if(allgood && final && final->data) {
if(pmo_s_downloadonly) {
if(pmo_noconfirm) {
- printf("\nBeginning upgrade process...\n");
+ printf("\nBeginning download...\n");
+ confirm = 1;
} else {
confirm = yesno("\nProceed with download? [Y/n] ");
}
@@ -1091,7 +1092,8 @@ int pacman_sync(pacdb_t *db, PMList *targets)
confirm = 1;
} else {
if(pmo_noconfirm) {
- printf("\nBeginning download...\n");
+ printf("\nBeginning upgrade process...\n");
+ confirm = 1;
} else {
confirm = yesno("\nProceed with upgrade? [Y/n] ");
}