Add newline to end of log statement

This commit is contained in:
Marty Jones 2020-11-23 08:37:42 -05:00
parent ca91d50884
commit b06e0c648e

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