From d88e524e7c6e902dcf1c0afed52def0d8b430b25 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 1 Sep 2011 17:13:13 -0500 Subject: Be fully silent on any -Sp operation Signed-off-by: Dan McGee --- src/pacman/sync.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2