Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2023 18:20:49 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 87061d3bffd1 - main - network.subr: Add missing brace
Message-ID:  <202301021820.302IKnuR095196@gitrepo.freebsd.org>

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

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

commit 87061d3bffd1becd643b0ba9dc6f0a7699efbb39
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-12-14 21:36:23 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2023-01-02 18:20:05 +0000

    network.subr: Add missing brace
    
    PR:             268378
    Submitted by:   jyoung15@gmail.com
    Reported by:    jyoung15@gmail.com
    MFC after:      3 days
---
 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 2d9ee8913c72..76a5b94bc408 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}[[:space:]]*[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?202301021820.302IKnuR095196>