about summary refs log tree commit diff
path: root/src/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/http.go')
-rw-r--r--src/http.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/http.go b/src/http.go
index f2518f6..d309791 100644
--- a/src/http.go
+++ b/src/http.go
@@ -30,13 +30,17 @@ func indexHandler(w http.ResponseWriter, r *http.Request) {
 func httpStartServer() {
 
 	if httpServerPort != 8080 {
-		log.Printf("%s Starting the http server", green("[i]"))
+		if verbose == true {
+			log.Printf("%s Starting the http server", green("[i]"))
+		}
 
 		// setup the http server and start it
 		httpServer := setupHTTPServer()
 		log.Fatalln(httpServer.ListenAndServe())
 
-		log.Printf("%s Done starting the http server", boldGreen("[+]"))
+		if verbose == true {
+			log.Printf("%s Done starting the http server", boldGreen("[+]"))
+		}
 	} else {
 		return
 	}