m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
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
parentaf3b815c91a35cc8a6054bba64ceb1f4a71b9649 (diff)
Use 6 Xs for mktemp
-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"