From nobody Thu Aug 03 22:04:51 2023 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RH2vR6Ls9z4V5HQ for ; Thu, 3 Aug 2023 22:04:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RH2vR5DlPz3bgj for ; Thu, 3 Aug 2023 22:04:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691100291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zi2oIZQQjq0ThFl7ivMiRBMaXPqT0nVUkWS81Uhr9w4=; b=a0UtzP43/lTRMKbvgfi8fGROPBxHSuqwRG91lbleRBA3FlrK3wsRPw9YzS8PSpZigw+1k/ czWushC7sYqR2NMCtX75FTcQkwqZXERN+oFrEicK62lUskBla6pVSQZTKjh5w5mQ+v8DaE JWBb1b7DGgfncYiJgo6wr4MoAgIed7uxk8+Ogr9vW9cIik8LepxcjdiAP9Hc+aGCPRyWuj AbgnGoapZKJLUE1oZ7EFy/UzfYYVntg7u6Lbe8MHng/H9hmm2UnqSYbyAsQ3SV5/0SFQ+G Es4cNQpwasKNduwLvt7RQLvGg+2YzHkRXniFYJa5Ehe2gGzeDpUh4lFquIJFdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691100291; a=rsa-sha256; cv=none; b=lhyiR17dedVUKvu/PPSBLA1V0xRGVYbMMlyDVGpUabDAppFl9urUfz1jC9PQn1xlzgAQNJ ogQXGo9uejGXQXdaQE9OntMAlI5bPFlNYHrR/3ur+8rfbHIgy9bSMmVO/+40R/ODA69Og4 6IoExj5dwXtinNpb9C700g/52Qge2EEffXD1KYocb2/DJiwY9EZJxAd6Lc9Yb3loESqTU8 pw/v10EGHJp7sh9U2q7dq0FzPi5YWJ+qoOfBdy+E8h7Pr4VibAEuyXqwD17cSM3eaYiAH3 0I1jY1vR0t3TGVf5ahHNo72hDt3rskOcoo6RgJz/yM90Qs8LJLGYZZNVtOeFuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RH2vR3qGLzd4v for ; Thu, 3 Aug 2023 22:04:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 373M4piD084471 for ; Thu, 3 Aug 2023 22:04:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 373M4pZS084470 for pkg@FreeBSD.org; Thu, 3 Aug 2023 22:04:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 264690] ports-mgmt/pkg: pkg info -e only returns (in exit code) status for last package listed Date: Thu, 03 Aug 2023 22:04:51 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pen@lysator.liu.se X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264690 --- Comment #2 from Peter Eriksson --- Created attachment 243828 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243828&action= =3Dedit Patch to only return EXIT_SUCCESS if all pkgs listed are found Attached is a small patch that fixes "pkg info -e pkg1 .. pkgN" so that it returns EXIT_SUCCESS only if all packages are found, instead of just return= ing the state of the last package... --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=