summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/Main.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/rdiff_backup/Main.py')
-rw-r--r--rdiff-backup/rdiff_backup/Main.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py
index 50efbcf..a363aa5 100644
--- a/rdiff-backup/rdiff_backup/Main.py
+++ b/rdiff-backup/rdiff_backup/Main.py
@@ -773,11 +773,7 @@ def Verify(dest_rp, verify_time = None):
def CheckDest(dest_rp):
"""Check the destination directory, """
- if Globals.chars_to_quote:
- dest_rp = FilenameMapping.get_quotedrpath(dest_rp)
- if Globals.rbdir is None:
- SetConnections.UpdateGlobal('rbdir',
- dest_rp.append_path("rdiff-backup-data"))
+ dest_rp = require_root_set(dest_rp, 0)
need_check = checkdest_need_check(dest_rp)
if need_check is None:
Log.FatalError("No destination dir found at %s" % (dest_rp.path,))