From 36868162c2e17d348d30954509d5281d6c2c1c03 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 10 Apr 2011 10:54:57 +0200 Subject: use type to determine if xclip is available Signed-off-by: Florian Pritz --- fb.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-g4f1b