From 414bab7d973b50431854496811608c549fb541e1 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 22 Mar 2014 00:50:20 -0600 Subject: clip: suppress kill error --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/password-store.sh') 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" ( -- cgit v1.2.3-54-g00ecf