summaryrefslogtreecommitdiff
path: root/src/travel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/travel.cc')
-rw-r--r--src/travel.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/travel.cc b/src/travel.cc
index 57d226a..6b3feb2 100644
--- a/src/travel.cc
+++ b/src/travel.cc
@@ -93,8 +93,11 @@ public:
// Called on any thread.
bool include_dir(std::string_view name, uint16_t depth) const override {
- if (depth > 0)
+ if (depth > 0) {
+ if (name == "backup")
+ return false;
return FilesFinder::Delegate::include_dir(name, depth);
+ }
return valid_trip_id(name);
}