summaryrefslogtreecommitdiff
path: root/helper/helper.go
diff options
context:
space:
mode:
Diffstat (limited to 'helper/helper.go')
-rw-r--r--helper/helper.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/helper/helper.go b/helper/helper.go
index 1b7033a..9f09e81 100644
--- a/helper/helper.go
+++ b/helper/helper.go
@@ -123,6 +123,7 @@ func firewallStartHandler(w http.ResponseWriter, r *http.Request) {
if err != nil {
log.Printf("Error starting firewall: %v", err)
w.Write([]byte(err.Error()))
+ return
}
log.Println("Start firewall: firewall started")
}