summaryrefslogtreecommitdiffstats
path: root/fb.in
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-04-10 10:54:57 +0200
committerFlorian Pritz <bluewind@server-speed.net>2011-04-10 10:56:03 +0200
commit36868162c2e17d348d30954509d5281d6c2c1c03 (patch)
tree7a4cf2a24fc427814c1b2297fc7c55509acd51fa /fb.in
parentc18c07a4a08f9277be7120fced7f471d16b141d1 (diff)
use type to determine if xclip is available
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'fb.in')
-rw-r--r--fb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb.in b/fb.in
index f4094e9..9f1884f 100644
--- a/fb.in
+++ b/fb.in
@@ -191,7 +191,7 @@ else
fi
fi
-[ "`which xclip 2>/dev/null`" ] && echo -n $CLIPBOARD | nohup xclip >/dev/null 2>&1
+[ "`type xclip 2>/dev/null`" ] && echo -n $CLIPBOARD | nohup xclip >/dev/null 2>&1
exit $EXITCODE