summaryrefslogtreecommitdiff
path: root/contrib/dmenu
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-02-07 12:05:52 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-02-07 12:05:52 +0100
commit0b2f803fe61992af02b8820c400984b1f615a299 (patch)
tree7ff9d3c9b345ec0fcf581af6909e320850c48ec0 /contrib/dmenu
parent675a002e3f9f84e07418b15105af3ab8049eb443 (diff)
downloadpass-0b2f803fe61992af02b8820c400984b1f615a299.tar.gz
pass-0b2f803fe61992af02b8820c400984b1f615a299.tar.bz2
pass-0b2f803fe61992af02b8820c400984b1f615a299.zip
dmenu: read likes -r
Diffstat (limited to 'contrib/dmenu')
-rwxr-xr-xcontrib/dmenu/passmenu2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dmenu/passmenu b/contrib/dmenu/passmenu
index 21cfa2b..7a9c517 100755
--- a/contrib/dmenu/passmenu
+++ b/contrib/dmenu/passmenu
@@ -20,6 +20,6 @@ password=$(printf '%s\n' "${password_files[@]}" | dmenu "$@")
if [[ $typeit -eq 0 ]]; then
pass show -c "$password" 2>/dev/null
else
- pass show "$password" | { read pass; printf %s "$pass"; } |
+ pass show "$password" | { read -r pass; printf %s "$pass"; } |
xdotool type --clearmodifiers --file -
fi