diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-02 00:13:13 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-03 04:44:45 +0200 |
commit | d88e524e7c6e902dcf1c0afed52def0d8b430b25 (patch) | |
tree | 8e7d5d8d77f658a3d2d091ce834b5c44c5d6b47a /src | |
parent | 062c391919e93f1d669deb3ffec60457d57e7d27 (diff) | |
download | pacman-d88e524e7c6e902dcf1c0afed52def0d8b430b25.tar.gz pacman-d88e524e7c6e902dcf1c0afed52def0d8b430b25.tar.xz |
Be fully silent on any -Sp operation
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/sync.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index d553ba01..0a47e56a 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -804,7 +804,9 @@ int sync_prepare_execute(void) packages = alpm_trans_get_add(config->handle); if(packages == NULL) { /* nothing to do: just exit without complaining */ - printf(_(" there is nothing to do\n")); + if(!config->print) { + printf(_(" there is nothing to do\n")); + } goto cleanup; } |