[pass] Clip/restore concurrency issues (fix?)

Chris Down chris at chrisdown.name
Sat Mar 22 15:35:05 CET 2014


Jonas Wagner writes:
> In [[ $now != $password64 ]] && before="$now", don't you need quotes around
> the variables for the inequality check? $now could be empty...

In bash, the LHS of [[ does not undergo expansion (or word splitting). I
did not look at the code, but it should be fine assuming you're asking
what I think you're asking.

    $ [[ $nonexistent != foo ]]; echo $?
    0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 966 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20140322/7f7c7ddc/attachment.asc>


More information about the Password-Store mailing list