From 7b422cc3f36a0e16b635170220aae73a081e78d6 Mon Sep 17 00:00:00 2001 From: TheRedSpy15 Date: Sun, 14 Oct 2018 20:35:37 -0400 Subject: [PATCH] Update firewall.go --- security/firewall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/firewall.go b/security/firewall.go index 5af98131..34c8b4c6 100644 --- a/security/firewall.go +++ b/security/firewall.go @@ -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") {