Add missing return.

This commit is contained in:
Solderpunk 2023-02-26 19:42:49 +01:00
parent eefb1bc3a6
commit d3d415b612
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ func handleGeminiRequest(conn net.Conn, sysConfig SysConfig, config UserConfig,
log.Println("Error evaluating path " + path + " for symlinks: " + err.Error())
conn.Write([]byte("51 Not found!\r\n"))
logEntry.Status = 51
return
}
if newPath == path {
break