onedb, if the backup already exists stop the upgrade process

This commit is contained in:
Daniel Molina committed 2011-06-17 15:37:22 +02:00
1 parent 6d139a9b75
commit ffce8af029
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ class OneDB
if !ops[:force] && File.exists?(bck_file)
puts "File #{bck_file} exists, backup aborted. Use -f to overwrite."
return -1
raise
end
@backend.backup(bck_file)