[Bug 264690] ports-mgmt/pkg: pkg info -e only returns (in exit code) status for last package listed

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 03 Aug 2023 22:04:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264690

--- Comment #2 from Peter Eriksson <pen@lysator.liu.se> ---
Created attachment 243828
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243828&action=edit
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 returning
the state of the last package...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.