The branch stable/14 has been updated by eugen: URL: https://cgit.FreeBSD.org/src/commit/?id=c4673251c9793353d52ed2e56b54fd6557466ac1
commit c4673251c9793353d52ed2e56b54fd6557466ac1 Author: Eugene Grosbein <eu...@freebsd.org> AuthorDate: 2025-07-01 14:33:19 +0000 Commit: Eugene Grosbein <eu...@freebsd.org> CommitDate: 2025-07-13 15:45:41 +0000 network.subr: MFC: correct return code in case of bad call to ifisup() This is rather cosmetic correction. PR: 287872 (cherry picked from commit 24e8ed535ff673b9ea751c3d3b2a68ef0a29b0e2) --- 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 2113a3f66f0f..5e4f2c1f39a0 100644 --- a/libexec/rc/network.subr +++ b/libexec/rc/network.subr @@ -661,7 +661,7 @@ ifisup() { local _if - [ -z "$1" ] && return 1 + [ -z "$1" ] && return 2 _if="$1" set -- $(${IFCONFIG_CMD} -n ${_if} 2>/dev/null)