network.subr: correct return code in case of bad call to ifisup()
This is rather cosmetic correction.
PR: 287872
MFC-after: 2 weeks
X-MFC-With: 6d3bc576ab
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user