aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-05-11 14:39:35 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2015-05-11 14:39:35 +0200
commitfcbec6c0181495740ee39337efa9b5d425431df5 (patch)
treece72abfddc523f6853f3829959b05d61e5c1bdb4 /src
parentenhance winpath detection: gpg --help will have a line like this: Home: C:\..... (diff)
downloadpassword-store-fcbec6c0181495740ee39337efa9b5d425431df5.tar.xz
password-store-fcbec6c0181495740ee39337efa9b5d425431df5.zip
Use 6 Xs for mktemp
Diffstat (limited to 'src')
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh
index 13e07e2..d535a74 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -411,7 +411,7 @@ cmd_edit() {
local passfile="$PREFIX/$path.gpg"
tmpdir #Defines $SECURE_TMPDIR
- local tmp_file="$(mktemp -u "$SECURE_TMPDIR/XXXXX")-${path//\//-}.txt"
+ local tmp_file="$(mktemp -u "$SECURE_TMPDIR/XXXXXX")-${path//\//-}.txt"
local action="Add"