Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2023 14:41:14 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: 8c7c23a6e030 - stable/12 - network.subr: Add missing brace
Message-ID:  <202301051441.305EfEP8055220@gitrepo.freebsd.org>

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

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

commit 8c7c23a6e030e02c785d3053b57d654987b5a431
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:59 +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 276924375f79..623c3d95b32e 100644
--- a/libexec/rc/network.subr
+++ b/libexec/rc/network.subr
@@ -1046,7 +1046,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?202301051441.305EfEP8055220>