mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
Add newline to end of log statement
This commit is contained in:
parent
ca91d50884
commit
b06e0c648e
1 changed files with 1 additions and 1 deletions
2
lnd.go
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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue