summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-09-04 19:49:27 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-04 19:49:27 +0200
commite14c00af8edf8d4b90b46fda9bf733630ef85199 (patch)
treea3b3d7002d832357d038934c6743b50c62e83fb2 /src
parent4eabdd63867dea7831ab72c1e200f5d911dcb13d (diff)
downloadpass-e14c00af8edf8d4b90b46fda9bf733630ef85199.tar.gz
pass-e14c00af8edf8d4b90b46fda9bf733630ef85199.tar.bz2
pass-e14c00af8edf8d4b90b46fda9bf733630ef85199.zip
Properly quote the path too.
Diffstat (limited to '')
-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 5b2f6d0..28bd9d6 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -130,7 +130,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")" "$path"
fi
fi
;;