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/>

index | next in thread | previous in thread | raw e-mail

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.

help

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