Browse Source

Close DB after check

master
Jan-Lukas Else 1 week ago
parent
commit
5a5069a44d
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      main.go

+ 3
- 0
main.go View File

@ -68,6 +68,9 @@ func main() {
// Link check tool after init of markdown
if len(os.Args) >= 2 && os.Args[1] == "check" {
checkAllExternalLinks()
if err = closeDb(); err != nil {
log.Fatalln("Failed to close DB:", err.Error())
}
return
}


Loading…
Cancel
Save