From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 24723138334 for ; Thu, 28 Feb 2019 18:37:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59388E083E; Thu, 28 Feb 2019 18:37:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2DB19E083E for ; Thu, 28 Feb 2019 18:37:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E3C6335D95 for ; Thu, 28 Feb 2019 18:37:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E791452 for ; Thu, 28 Feb 2019 18:37:17 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1551378084.0cf3703a4f7a4bebd0cc660690434a7bcffd507a.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qlop.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 0cf3703a4f7a4bebd0cc660690434a7bcffd507a X-VCS-Branch: master Date: Thu, 28 Feb 2019 18:37:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a2f7d638-16fc-4ef7-a81b-2599468d007a X-Archives-Hash: e517f399d5bb9bc308957333993aea86 commit: 0cf3703a4f7a4bebd0cc660690434a7bcffd507a Author: Fabian Groffen gentoo org> AuthorDate: Thu Feb 28 18:21:24 2019 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Thu Feb 28 18:21:24 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=0cf3703a qlop: avoid warning about -s when specifying an atom Signed-off-by: Fabian Groffen gentoo.org> qlop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qlop.c b/qlop.c index 12c66a6..08ea479 100644 --- a/qlop.c +++ b/qlop.c @@ -930,7 +930,8 @@ int qlop_main(int argc, char **argv) { m.do_merge = 1; m.do_unmerge = 1; - m.do_sync = 1; + if (array_cnt(atoms) == 0) + m.do_sync = 1; m.do_time = 1; }