summaryrefslogtreecommitdiffstats
path: root/fb.in
diff options
context:
space:
mode:
Diffstat (limited to 'fb.in')
-rw-r--r--fb.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/fb.in b/fb.in
index 9f1884f..17114df 100644
--- a/fb.in
+++ b/fb.in
@@ -191,7 +191,9 @@ else
fi
fi
-[ "`type xclip 2>/dev/null`" ] && echo -n $CLIPBOARD | nohup xclip >/dev/null 2>&1
+if [ "$CLIPBOARD" != "" ]; then
+ [ "`type xclip 2>/dev/null`" ] && echo -n $CLIPBOARD | nohup xclip >/dev/null 2>&1
+fi
exit $EXITCODE