diff options
author | 2023-09-14 21:29:27 -0400 | |
---|---|---|
committer | 2023-10-19 23:57:19 +0100 | |
commit | bf02831a7a59f5552c916dde7dd47296a7bce0b1 (patch) | |
tree | 0b85b36fa80a6fe4551883f38179b504f694cef4 | |
parent | Makefile.inc: prepare for 0.7.6 (diff) | |
download | netifrc-bf02831a7a59f5552c916dde7dd47296a7bce0b1.tar.gz netifrc-bf02831a7a59f5552c916dde7dd47296a7bce0b1.tar.bz2 netifrc-bf02831a7a59f5552c916dde7dd47296a7bce0b1.zip |
dhcpcd: Fixing the handling of dhcpcd arguments with spaces
Bug: https://bugs.gentoo.org/881039
Signed-off-by: Kevin Martin <kevinmbecause@gmail.com>
Fixes: bd8ff4aa89e1d56e9886dad32bb2406c8f43c747
Closes: https://github.com/gentoo/netifrc/pull/48
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | net/dhcpcd.sh | 4 |
1 files 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 $? |