Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2023 14:40:55 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d30b57252df8 - stable/13 - network.subr: Add missing brace
Message-ID:  <202301051440.305EetB2055012@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=d30b57252df870349b6b9b1cc014c6a276d8623d

commit d30b57252df870349b6b9b1cc014c6a276d8623d
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-12-14 21:36:23 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-01-05 00:35:46 +0000

    network.subr: Add missing brace
    
    PR:             268378
    Submitted by:   jyoung15@gmail.com
    Reported by:    jyoung15@gmail.com
    
    (cherry picked from commit 87061d3bffd1becd643b0ba9dc6f0a7699efbb39)
---
 libexec/rc/network.subr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/network.subr b/libexec/rc/network.subr
index 2475841ffb40..f79e9314043c 100644
--- a/libexec/rc/network.subr
+++ b/libexec/rc/network.subr
@@ -1047,7 +1047,7 @@ ifalias_af_common_handler()
 		esac
 	done
 	# Process the last component if any.
-	if [ -n "$_tmpargs}" ]; then
+	if [ -n "${_tmpargs}" ]; then
 		case $_tmpargs in
 		${_af}\ *[0-9a-fA-F]-*)
 			ifalias_af_common_handler $_if $_af $_action \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301051440.305EetB2055012>