index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/sync.c | 2 |
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 48ae30cf..5d6dcb99 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -960,7 +960,7 @@ int pacman_sync(alpm_list_t *targets) } alpm_list_t *targs = alpm_list_strdup(targets); - if(!(config->flags & ALPM_TRANS_FLAG_DOWNLOADONLY) && !config->print) { + if(!config->op_s_downloadonly && !config->print) { /* check for newer versions of packages to be upgraded first */ alpm_list_t *packages = syncfirst(); if(packages) { |