Merge pull request #4793 from murtyjones/cosmetic/add-newline-to-log

Cosmetic: Add newline to end of log statement
This commit is contained in:
Conner Fromknecht 2020-12-01 16:44:24 -08:00 committed by GitHub
commit e9b5b2d767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
lnd.go

@ -197,7 +197,7 @@ type rpcListeners func() ([]*ListenerWithSignal, func(), error)
// is received on the shutdownChan at which point everything is shut down again.
func Main(cfg *Config, lisCfg ListenerCfg, shutdownChan <-chan struct{}) error {
defer func() {
ltndLog.Info("Shutdown complete")
ltndLog.Info("Shutdown complete\n")
err := cfg.LogWriter.Close()
if err != nil {
ltndLog.Errorf("Could not close log rotator: %v", err)