diff --git a/frontend/main.go b/frontend/main.go index 523c7c78..ff0a4d83 100644 --- a/frontend/main.go +++ b/frontend/main.go @@ -22,7 +22,7 @@ func touchStartedFile(startSub time.Duration) { log.Println("Started! Go, Go, Go!!") fd.Close() } else { - log.Println("Unable to start challenge:", err) + log.Fatal("Unable to start challenge:", err) } } @@ -34,7 +34,7 @@ func main() { var denyChName = flag.Bool("denyChName", false, "Deny team to change their name") var allowRegistration = flag.Bool("allowRegistration", false, "New team can add itself") var resolutionRoute = flag.Bool("resolutionRoute", false, "Enable resolution route") - flag.StringVar(&TeamsDir, "teams", "../TEAMS", "Base directory where save teams JSON files") + flag.StringVar(&TeamsDir, "teams", "./TEAMS", "Base directory where save teams JSON files") flag.StringVar(&SubmissionDir, "submission", "./submissions/", "Base directory where save submissions") flag.Parse()