This commit is contained in:
Geraint Edwards 2021-09-29 22:51:20 +01:00
commit f2268ad7d6
No known key found for this signature in database
GPG key ID: 662262F0980FAEAC

View file

@ -97,13 +97,8 @@ func main() {
} }
go smtp.Listen(apiconf, exitCh) go smtp.Listen(apiconf, exitCh)
for { <-exitCh
select { log.Printf("Received exit signal")
case <-exitCh:
log.Printf("Received exit signal")
os.Exit(0)
}
}
} }
/* /*