summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dump.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dump.go b/cmd/dump.go
index 1d71bc8379..774b1d5d50 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)