summaryrefslogtreecommitdiff
path: root/contrib/importers/keepassx2pass.py
diff options
context:
space:
mode:
authorWieland Hoffmann <themineo@gmail.com>2015-01-19 14:07:07 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-01-19 14:15:51 +0100
commit0524ef9aad5e908c4062c2696a3b7a807bd494c7 (patch)
tree00e79bc71bc1e7b4e7de6bfbf17de0cb7b32f802 /contrib/importers/keepassx2pass.py
parent2c02186ea66b1500d758f6f30222079558bcd1c9 (diff)
downloadpass-0524ef9aad5e908c4062c2696a3b7a807bd494c7.tar.gz
pass-0524ef9aad5e908c4062c2696a3b7a807bd494c7.tar.bz2
pass-0524ef9aad5e908c4062c2696a3b7a807bd494c7.zip
clip: Show an error message if xclip returns a non-zero exit code
xclip will return a non-zero exit code if $DISPLAY is not set, which might happen, for example, if you're running pass in a tmux session remotely or something like that. xclip itself will also show an error message ("Can't open display") which provides enough context to figure out what the problem is. There might be other reasons for xclip to return a non-zero exit code, but the man page doesn't list them.
Diffstat (limited to 'contrib/importers/keepassx2pass.py')
0 files changed, 0 insertions, 0 deletions