summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fb.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb.in b/fb.in
index bd15407..46d3541 100644
--- a/fb.in
+++ b/fb.in
@@ -300,7 +300,7 @@ else
fi
if [ "$CLIPBOARD" != "" ]; then
- type $CLIPBOARD_CMD >/dev/null 2>&1 && echo -n $CLIPBOARD | nohup $CLIPBOARD_CMD >/dev/null 2>&1
+ type $CLIPBOARD_CMD >/dev/null 2>&1 && echo $CLIPBOARD | tr -d "\n" | nohup $CLIPBOARD_CMD >/dev/null 2>&1
fi
exit $EXITCODE