diff --git a/cmd/dump.go b/cmd/dump.go index 1d71bc837..774b1d5d5 100644 --- a/cmd/dump.go +++ b/cmd/dump.go @@ -99,7 +99,7 @@ func runDump(ctx *cli.Context) error { zip.Verbose = ctx.Bool("verbose") - if ctx.IsSet("skip-repository") { + if ctx.IsSet("skip-repository") && ctx.Bool("skip-repository") { log.Info("Skip dumping local repositories") } else { log.Info("Dumping local repositories...%s", setting.RepoRootPath)