aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-19 04:48:19 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-19 04:48:19 +0200
commit087f4093e97e8aeae149f6d79b27853386032c98 (patch)
treec8728c6b6ef782b2f094bb3a90347863a4ff442d /src
parentClean up git handling. (diff)
downloadpassword-store-087f4093e97e8aeae149f6d79b27853386032c98.tar.xz
password-store-087f4093e97e8aeae149f6d79b27853386032c98.zip
Since we're using batch mode, we can read directly.
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 1960636..b09c084 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -231,7 +231,7 @@ case "$command" in
if [[ $multiline -eq 1 ]]; then
echo "Enter contents of $path and press Ctrl+D when finished:"
echo
- cat | $GPG -e -r "$ID" -o "$passfile" $GPG_OPTS
+ $GPG -e -r "$ID" -o "$passfile" $GPG_OPTS
elif [[ $noecho -eq 1 ]]; then
while true; do
read -p "Enter password for $path: " -s password