diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-10-06 15:38:21 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-10-06 15:38:21 +0200 |
commit | 901f5445785a754227d8b77ca535947ab8cbbfca (patch) | |
tree | 493ccc7ed990e23549ec8cd0afd42ac68399d162 /lib/backup | |
parent | 7d58489fd908b2263f02e8919b1bd0b3fae1201d (diff) | |
download | gitlab-ce-901f5445785a754227d8b77ca535947ab8cbbfca.tar.gz |
Remove superfluous mkdir -p
Diffstat (limited to 'lib/backup')
-rw-r--r-- | lib/backup/database.rb | 2 |
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']} ... " |