From 087f4093e97e8aeae149f6d79b27853386032c98 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 19 Sep 2012 04:48:19 +0200 Subject: Since we're using batch mode, we can read directly. --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3