diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-04 19:49:27 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-04 19:49:27 +0200 |
commit | e14c00af8edf8d4b90b46fda9bf733630ef85199 (patch) | |
tree | a3b3d7002d832357d038934c6743b50c62e83fb2 | |
parent | 4eabdd63867dea7831ab72c1e200f5d911dcb13d (diff) |
Properly quote the path too.
-rwxr-xr-x | src/password-store.sh | 2 |
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 ;; |