summaryrefslogtreecommitdiff
path: root/lib/backup
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-10-06 15:38:21 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-10-06 15:38:21 +0200
commit901f5445785a754227d8b77ca535947ab8cbbfca (patch)
tree493ccc7ed990e23549ec8cd0afd42ac68399d162 /lib/backup
parent7d58489fd908b2263f02e8919b1bd0b3fae1201d (diff)
downloadgitlab-ce-901f5445785a754227d8b77ca535947ab8cbbfca.tar.gz
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']} ... "