summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Wilhelmy <moritz+git@wzff.de>2011-09-11 23:52:24 +0200
committerMoritz Wilhelmy <moritz+git@wzff.de>2011-09-11 23:52:24 +0200
commit1cf5d371d57aebf4d4eac358f8a4ad9d6b9f603e (patch)
tree8d147dab9dd6fd28ec86ba400a4327bb00c8f499
parent972631b408d955c67042797d17347685407ff706 (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 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