remove some extra db.Close calls

This commit is contained in:
Ted Unangst 2019-12-10 13:49:41 -05:00
parent 2e0bf0147a
commit f0acc4e357
1 changed files with 0 additions and 2 deletions

View File

@ -105,7 +105,6 @@ func initdb() {
return
}
}
defer db.Close()
r := bufio.NewReader(os.Stdin)
err = createuser(db, r)
@ -208,7 +207,6 @@ func adduser() {
return
}
db.Close()
os.Exit(0)
}