From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D70AA158013 for ; Mon, 27 Sep 2021 11:19:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22F3FE08BD; Mon, 27 Sep 2021 11:19:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A49DCE08BD for ; Mon, 27 Sep 2021 11:19:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D93C342F44 for ; Mon, 27 Sep 2021 11:19:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD1E3A3 for ; Mon, 27 Sep 2021 11:19:08 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1632741304.95cd9583d415dfeb07917d7b111502f0b991413d.ulm@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/isolated-functions.sh X-VCS-Directories: bin/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 95cd9583d415dfeb07917d7b111502f0b991413d X-VCS-Branch: master Date: Mon, 27 Sep 2021 11:19:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a444cb46-5583-422e-9273-40080292aab8 X-Archives-Hash: bea68b39a03a492d3e69d10a93e6601f commit: 95cd9583d415dfeb07917d7b111502f0b991413d Author: Ulrich Müller gentoo org> AuthorDate: Fri Sep 3 16:03:27 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Sep 27 11:15:04 2021 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=95cd9583 eend: Output QA notice when called without argument PMS says about eend: "Takes one fixed argument, which is a numeric return code, and an optional message in all subsequent arguments." Bug: https://bugs.gentoo.org/703520 Signed-off-by: Ulrich Müller gentoo.org> bin/isolated-functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index b495ae6c7..5630dcf4c 100644 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -364,6 +364,7 @@ __eend() { } eend() { + [[ -n $1 ]] || eqawarn "QA Notice: eend called without first argument" local retval=${1:-0} shift