Browse Source

Removed auto unzip following extra nil

Toby Chui 3 years ago
parent
commit
104eb8a4de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      startup.go

+ 1 - 1
startup.go

@@ -22,7 +22,7 @@ func RunStartup() {
 
 	//Check if system or web both not exists and web.tar.gz exists. Unzip it for the user
 	if (!fs.FileExists("system/") || !fs.FileExists("web/")) && fs.FileExists("./web.tar.gz") {
-		log.Println("[Update] Unzipping system critical files from archive", nil)
+		log.Println("[Update] Unzipping system critical files from archive")
 		extErr := filesystem.ExtractTarGzipFile("./web.tar.gz", "./")
 		if extErr != nil {
 			//Extract failed