commit: 83f4ab639eac759f2cc88c065d91421dea4490b4
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Mon Jun 9 20:06:07 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 11 03:26:19 2025 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=83f4ab63
estrip: let the return values of do_ignore() and do_queue() propagate
For there is no particular reason not to. This would have been
incorporated by a prior commit, were not not for the fact that it would
have decreased its legibility.
See-also: 6807432beeef59b94a47638d0e52c042e43bde55
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
bin/estrip | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/estrip b/bin/estrip
index 06df136a4f..01bbd81d4a 100755
--- a/bin/estrip
+++ b/bin/estrip
@@ -431,12 +431,12 @@ while [[ $# -gt 0 ]] ; do
--ignore)
shift
do_ignore "$@"
- exit 0
+ exit
;;
--queue)
shift
do_queue "$@"
- exit 0
+ exit
;;
--dequeue)
[[ $# -eq 1 ]] || die "${0##*/}: $1 takes no additional
arguments"