mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 05:23:19 -07:00
fix any env var name
This commit is contained in:
parent
d5edfeb6cb
commit
08aa2b3896
1 changed files with 3 additions and 3 deletions
|
@ -281,7 +281,7 @@ func (mod *Discovery) showMeta(arg string) (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
colNames := []string{"Name", "Value"}
|
colNames := []string{"Name", "Value"}
|
||||||
any := false
|
isAny := false
|
||||||
|
|
||||||
for _, t := range targets {
|
for _, t := range targets {
|
||||||
keys := []string{}
|
keys := []string{}
|
||||||
|
@ -326,12 +326,12 @@ func (mod *Discovery) showMeta(arg string) (err error) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
any = true
|
isAny = true
|
||||||
tui.Table(mod.Session.Events.Stdout, colNames, rows)
|
tui.Table(mod.Session.Events.Stdout, colNames, rows)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if any {
|
if isAny {
|
||||||
mod.Session.Refresh()
|
mod.Session.Refresh()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue