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 690FE158089 for ; Thu, 19 Oct 2023 22:57:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D5312BC01F; Thu, 19 Oct 2023 22:57:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 6A0892BC01F for ; Thu, 19 Oct 2023 22:57:28 +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 3D410335D1C for ; Thu, 19 Oct 2023 22:57:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F5DF11E3 for ; Thu, 19 Oct 2023 22:57:25 +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: <1697756239.bf02831a7a59f5552c916dde7dd47296a7bce0b1.sam@OpenRC> Subject: [gentoo-commits] proj/netifrc:master commit in: net/ X-VCS-Repository: proj/netifrc X-VCS-Files: net/dhcpcd.sh X-VCS-Directories: net/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bf02831a7a59f5552c916dde7dd47296a7bce0b1 X-VCS-Branch: master Date: Thu, 19 Oct 2023 22:57:25 +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: 1e6c6353-a3af-4e42-8bff-23078f96c00f X-Archives-Hash: f55b2709efa3a8da7e9a5005f034aba3 commit: bf02831a7a59f5552c916dde7dd47296a7bce0b1 Author: kmartin36 gtri gatech edu> AuthorDate: Fri Sep 15 01:29:27 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Oct 19 22:57:19 2023 +0000 URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=bf02831a dhcpcd: Fixing the handling of dhcpcd arguments with spaces Bug: https://bugs.gentoo.org/881039 Signed-off-by: Kevin Martin gmail.com> Fixes: bd8ff4aa89e1d56e9886dad32bb2406c8f43c747 Closes: https://github.com/gentoo/netifrc/pull/48 Signed-off-by: Sam James gentoo.org> net/dhcpcd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/dhcpcd.sh b/net/dhcpcd.sh index 6bd44ba..2493f27 100644 --- a/net/dhcpcd.sh +++ b/net/dhcpcd.sh @@ -90,8 +90,8 @@ dhcpcd_stop() eval opts=\$dhcp_${IFVAR} [ -z "${opts}" ] && opts=${dhcp} case " ${opts} " in - *" release "*) dhcpcd -k "${args}" "${IFACE}" ;; - *) dhcpcd -x "${args}" "${IFACE}" ;; + *" release "*) dhcpcd -k ${args} "${IFACE}" ;; + *) dhcpcd -x ${args} "${IFACE}" ;; esac [ -f "${argsfile}" ] && rm -f "${argsfile}" eend $?