diff --git a/cmd/n3dr/root.go b/cmd/n3dr/root.go index a6f3c9c0..18c65f63 100644 --- a/cmd/n3dr/root.go +++ b/cmd/n3dr/root.go @@ -60,13 +60,14 @@ Nexus3 repository and restoring them.`, func execute() { now := time.Now() + defer func() { + log.Debugf("n3dr was running for: '%s'", time.Since(now)) + }() if err := rootCmd.Execute(); err != nil { fmt.Println(err) os.Exit(1) } - - log.Infof("n3dr was running for: '%s'", time.Since(now)) } func init() {