From 1cf5d371d57aebf4d4eac358f8a4ad9d6b9f603e 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 bb8e09a..cf71057 100644 --- a/fb.in +++ b/fb.in @@ -185,7 +185,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