commit e3ee459005940806916c5f3d2530d3cf15966e1b parent 58f972ef71506d1ba83970196bcc2a71a2b11889 Author: Jason A. Donenfeld <Jason@zx2c4.com> Date: Sun, 27 Apr 2014 14:17:56 +0200 base64: better justification Diffstat:
M | src/password-store.sh | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/password-store.sh b/src/password-store.sh @@ -136,9 +136,9 @@ check_sneaky_paths() { # clip() { - # This base64 business is a disgusting hack to deal with newline inconsistancies - # in shell. There must be a better way to deal with this, but because I'm a dolt, - # we're going with this for now. + # This base64 business is because bash cannot store binary data in a shell + # variable. Specifically, it cannot store nulls nor (non-trivally) store + # trailing new lines. local sleep_argv0="password store sleep on display $DISPLAY" pkill -f "^$sleep_argv0" 2>/dev/null && sleep 0.5