mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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:
parent
6d3bc576ab
commit
24e8ed535f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue