From f566cdfee7302121c43d1cd83272900d4b24cc15 Mon Sep 17 00:00:00 2001 From: Moritz Wilhelmy Date: Sun, 11 Sep 2011 23:52:24 +0200 Subject: avoid reading output from type shell-builtin --- fb.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fb.in b/fb.in index 0fa5994..d28f693 100644 --- a/fb.in +++ b/fb.in @@ -214,7 +214,7 @@ else fi if [ "$CLIPBOARD" != "" ]; then - [ "`type xclip 2>/dev/null`" ] && echo -n $CLIPBOARD | nohup xclip >/dev/null 2>&1 + type xclip >/dev/null 2>&1 && echo -n $CLIPBOARD | nohup xclip >/dev/null 2>&1 fi exit $EXITCODE -- cgit v1.2.3-24-g4f1b