summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--obnamlib/plugins/one_file_system_plugin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/obnamlib/plugins/one_file_system_plugin.py b/obnamlib/plugins/one_file_system_plugin.py
index 7b584c88..22d7371f 100644
--- a/obnamlib/plugins/one_file_system_plugin.py
+++ b/obnamlib/plugins/one_file_system_plugin.py
@@ -38,6 +38,7 @@ class OneFileSystemPlugin(obnamlib.ObnamPlugin):
self.app.hooks.add_callback('backup-exclude', self.exclude)
def load_mount_points(self):
+ self.mount_points = []
try:
with open('/proc/mounts', 'r') as f:
self.mount_points = self.parse_proc_mounts(f)