Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2023 22:04:51 +0000
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
Message-ID:  <bug-264690-32340-Wl59vNpfvE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264690-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264690-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264690

--- Comment #2 from Peter Eriksson <pen@lysator.liu.se> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264690-32340-Wl59vNpfvE>