summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 e22e8c9..2e1d14b 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -134,7 +134,7 @@ case "$command" in
if [ $clip -eq 0 ]; then
exec gpg -q -d "$passfile"
else
- clip "$(gpg -q -d "$passfile")" "$path"
+ clip "$(gpg -q -d "$passfile" | head -n 1)" "$path"
fi
fi
;;