summaryrefslogtreecommitdiff
path: root/rdiff-backup/src/restore.py
diff options
context:
space:
mode:
Diffstat (limited to 'rdiff-backup/src/restore.py')
-rw-r--r--rdiff-backup/src/restore.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/rdiff-backup/src/restore.py b/rdiff-backup/src/restore.py
index 4d57b4d..432f9cc 100644
--- a/rdiff-backup/src/restore.py
+++ b/rdiff-backup/src/restore.py
@@ -79,6 +79,7 @@ class Restore:
"""Returns increments with given base"""
dirname, basename = inc_rpath.dirsplit()
parent_dir = RPath(inc_rpath.conn, dirname, ())
+ if not parent_dir.isdir(): return [] # inc directory not created yet
index = inc_rpath.index
if index: