Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-10-06 16:38:21 +0300
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-10-06 16:38:21 +0300
commit901f5445785a754227d8b77ca535947ab8cbbfca (patch)
tree493ccc7ed990e23549ec8cd0afd42ac68399d162 /lib/backup
parent7d58489fd908b2263f02e8919b1bd0b3fae1201d (diff)
Remove superfluous mkdir -p
Diffstat (limited to 'lib/backup')
-rw-r--r--lib/backup/database.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/backup/database.rb b/lib/backup/database.rb
index fe0434361e8..67b2a64bd10 100644
--- a/lib/backup/database.rb
+++ b/lib/backup/database.rb
@@ -16,8 +16,6 @@ module Backup
compress_pid = spawn(*%W(gzip -1 -c), in: compress_rd, out: [db_file_name, 'w', 0600])
compress_rd.close
- FileUtils.mkdir_p(Gitlab.config.backup.path)
-
dump_pid = case config["adapter"]
when /^mysql/ then
$progress.print "Dumping MySQL database #{config['database']} ... "