mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Update firewall.go
This commit is contained in:
parent
8b3d3cc91d
commit
7b422cc3f3
@ -44,7 +44,7 @@ func firewallStateLinux() string { // might be very Ubuntu specific
|
||||
cmd.Stdout = &o
|
||||
|
||||
if err := cmd.Run(); err != nil {
|
||||
panic(err.Error())
|
||||
return "[red]NA[white]
|
||||
}
|
||||
|
||||
if strings.Contains(o.String(), "active") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user