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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5199715800F for ; Tue, 17 Jan 2023 15:06:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75800E07C9; Tue, 17 Jan 2023 15:06:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5ED25E07C9 for ; Tue, 17 Jan 2023 15:06:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CCAF335C2E for ; Tue, 17 Jan 2023 15:06:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4C2A7F4 for ; Tue, 17 Jan 2023 15:06:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1673967951.e5a46f30deedabef5c18a587db2984a314f61071.sam@OpenRC> Subject: [gentoo-commits] proj/netifrc:master commit in: net/ X-VCS-Repository: proj/netifrc X-VCS-Files: net/bonding.sh X-VCS-Directories: net/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e5a46f30deedabef5c18a587db2984a314f61071 X-VCS-Branch: master Date: Tue, 17 Jan 2023 15:06:32 +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: 7c4f940b-2899-48c6-9e8f-fb5af21d8df3 X-Archives-Hash: 5affca857b8d5f87dfba0ea857022d5d commit: e5a46f30deedabef5c18a587db2984a314f61071 Author: Kerin Millar plushkava net> AuthorDate: Tue Jan 17 09:11:22 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Jan 17 15:05:51 2023 +0000 URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=e5a46f30 net/bonding.sh: Eliminate the bashism that is pattern substitution Signed-off-by: Kerin Millar plushkava.net> Signed-off-by: Sam James gentoo.org> net/bonding.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bonding.sh b/net/bonding.sh index 1757a89..6db90fa 100644 --- a/net/bonding.sh +++ b/net/bonding.sh @@ -92,7 +92,7 @@ bonding_pre_start() if [ -n "${s}" ]; then for i in $s; do einfo "Adding ${n}: ${i}" - _netns echo "+${i/+/}" \>"${x}" || \ + _netns echo "+${i#+}" \>"${x}" || \ eerror "Failed to add $i (${n}_${IFVAR})" done fi