summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Wilhelmy <moritz+git@wzff.de>2011-09-11 23:52:24 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-09-15 19:45:12 +0200
commitf566cdfee7302121c43d1cd83272900d4b24cc15 (patch)
tree390ccfbfbcfc77269d02f03169d5c63438e893b4
parent7073f48bcfa823d0906f409cf3836a0fa46d9894 (diff)
avoid reading output from type shell-builtin
-rw-r--r--fb.in2
1 files changed, 1 insertions, 1 deletions
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