From: Silvio Rhatto Date: Fri, 15 Jul 2022 15:46:50 +0000 (-0300) Subject: Fix(xclip): avoid 'Error: target STRING not available' (2) X-Git-Tag: 0.5.8~2 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a3c913dec62cb098b3234bfaec22492ba8979119;p=keyringer.git Fix(xclip): avoid 'Error: target STRING not available' (2) --- diff --git a/lib/keyringer/actions/xclip b/lib/keyringer/actions/xclip index f63fdb5..0e36dae 100755 --- a/lib/keyringer/actions/xclip +++ b/lib/keyringer/actions/xclip @@ -20,7 +20,7 @@ clip() { # Avoid "Error: target STRING not available" # https://github.com/astrand/xclip/issues/38 - echo "$RANDOM" | $xclip + echo "$RANDOM" | $xclip &> /dev/null # Copy text into clipboard echo -n "$1" | $xclip