Localize $_punct_c in get_if_var() and whitespace clean-ups.
Based on: changes in r206408 by dougb
This commit is contained in:
parent
fa3b84643a
commit
95f15c1589
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212578
@ -194,7 +194,7 @@ ifconfig_down()
|
||||
# $default if given.
|
||||
get_if_var()
|
||||
{
|
||||
local _if _punct _var _default prefix suffix
|
||||
local _if _punct _punct_c _var _default prefix suffix
|
||||
|
||||
if [ $# -ne 2 -a $# -ne 3 ]; then
|
||||
err 3 'USAGE: get_if_var name var [default]'
|
||||
|
Loading…
Reference in New Issue
Block a user