Minor cleanup

This commit is contained in:
Gregory Kurtzer
2021-04-23 20:27:41 -07:00
parent 3ce16be7a9
commit fb2c7c64b8

View File

@@ -18,7 +18,7 @@ func RunServer() error {
signal.Notify(c, syscall.SIGHUP)
go func() {
for _ = range c {
for range c {
err := LoadNodeDB()
if err != nil {
wwlog.Printf(wwlog.WARN, "Could not load database: %s\n", err)