summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-15 01:09:12 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-15 01:09:12 +0200
commitc031f90cf99e3fce96dd65bcbc9bb288bdbee0d3 (patch)
tree3e03d8b172f6b057b7d88e2dbc25bfe228fa88b0
parent4f6e81c28ffa034677583417a7a982e4aadd5fb0 (diff)
downloadpass-c031f90cf99e3fce96dd65bcbc9bb288bdbee0d3.tar.gz
pass-c031f90cf99e3fce96dd65bcbc9bb288bdbee0d3.tar.bz2
pass-c031f90cf99e3fce96dd65bcbc9bb288bdbee0d3.zip
Use --force flag in keepassx import.
Diffstat (limited to '')
-rwxr-xr-xcontrib/keepassx2pass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/keepassx2pass.py b/contrib/keepassx2pass.py
index 86e2f11..fe7d2d6 100755
--- a/contrib/keepassx2pass.py
+++ b/contrib/keepassx2pass.py
@@ -13,7 +13,7 @@ def path_for(element, path=''):
def import_entry(element, path=''):
""" Import new password entry to password-store using pass insert
command """
- proc = Popen(['pass', 'insert', path_for(element, path)],
+ proc = Popen(['pass', 'insert', '--force', path_for(element, path)],
stdin=PIPE, stdout=PIPE)
proc.communicate(element.find('password').text + "\n")
proc.wait()