fix bad _netgraph, variable

Fix "local: _netgraph,: bad variable name" warning when running `vm switch info`
This commit is contained in:
moracca
2022-10-13 19:27:47 -04:00
committed by GitHub
parent 07f96108ea
commit 45286351c4

View File

@@ -96,7 +96,7 @@ info::switch(){
#
info::switch_show(){
local _switch="$1"
local _type _bridge _vale _netgraph, _id
local _type _bridge _vale _netgraph _id
local _INDENT=" "
[ -z "${_switch}" ] && return 1