summaryrefslogtreecommitdiff
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r--src/pacman/sync.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 85ab03b9..35e8513b 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -446,9 +446,7 @@ int pacman_sync(list_t *targets)
MSG(NL, ":: It is recommended that you allow pacman to upgrade itself\n");
MSG(NL, ":: first, then you can re-run the operation with the newer version.\n");
MSG(NL, "::\n");
- if(yesno(":: Upgrade pacman first? [Y/n] ")) {
- /* ORE
- we should substitute existing targets with "pacman" */
+ if(!yesno(":: Upgrade anyway? [Y/n] ")) {
retval = 0;
alpm_trans_release();
goto cleanup;