summaryrefslogtreecommitdiff
path: root/src/password-store.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-03-22 00:50:20 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2014-03-22 00:50:20 -0600
commit414bab7d973b50431854496811608c549fb541e1 (patch)
tree57739d521a60b689c165f26459ea839810756c3c /src/password-store.sh
parentef16fc0fbede889f1123eace27c6eedf64295497 (diff)
downloadpass-414bab7d973b50431854496811608c549fb541e1.tar.gz
pass-414bab7d973b50431854496811608c549fb541e1.tar.bz2
pass-414bab7d973b50431854496811608c549fb541e1.zip
clip: suppress kill error
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 f35a17b..3c9031d 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -117,7 +117,7 @@ clip() {
# we're going with this for now.
sleep_argv0="password store sleep on display $DISPLAY"
- pkill -f "^$sleep_argv0" && sleep 0.1
+ pkill -f "^$sleep_argv0" 2>/dev/null && sleep 0.1
before="$(xclip -o -selection "$SELECTION" | base64)"
echo -n "$1" | xclip -selection "$SELECTION"
(