summaryrefslogtreecommitdiff
path: root/seivot
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-07-10 09:06:26 +0300
committerLars Wirzenius <liw@liw.fi>2011-07-10 09:06:26 +0300
commit6adade53b5076db8ec6213caedf5f8231fd7012b (patch)
treee37398c3fadca6d660d7053ca5fae83b0c426303 /seivot
parentc1668512105acb656ec8de9e0c7d6851013e5f93 (diff)
downloadseivot-6adade53b5076db8ec6213caedf5f8231fd7012b.tar.gz
Record in .seivot file whether backup was encrypted or not.
Diffstat (limited to 'seivot')
-rwxr-xr-xseivot4
1 files changed, 4 insertions, 0 deletions
diff --git a/seivot b/seivot
index 2e28646..b20a368 100755
--- a/seivot
+++ b/seivot
@@ -220,6 +220,10 @@ class Obnam(BackupProgram):
cp.set('meta', 'revision', self._revno)
if self._larch_branch:
cp.set('meta', 'larch-revision', self._larch_revno)
+ if self.settings['encrypt-with']:
+ cp.set('meta', 'encrypted', 'yes')
+ else:
+ cp.set('meta', 'encrypted', 'no')
class BackupProgramFactory(object):