From 5f17a0be5aad517eef4a8ca015125a1e07520d6a Mon Sep 17 00:00:00 2001 From: Mark Stosberg Date: Sat, 28 Oct 2017 21:52:25 -0400 Subject: [PATCH] Quit logging clipboard contents to the systemd journal. For #49 I'm not sure if this issue happens all the time, or only when /dev/stderr can't be read. Perhaps in debug mode it would be better to not send this output to /dev/null, since it might be helpful for diagnostics. --- clipmenud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clipmenud b/clipmenud index 5b407a7..d8bd577 100755 --- a/clipmenud +++ b/clipmenud @@ -13,7 +13,7 @@ lock_file=$cache_dir/lock lock_timeout=2 _xsel() { - timeout 1 xsel --logfile /dev/stderr "$@" + timeout 1 xsel --logfile /dev/stderr "$@" 2>/dev/null } get_first_line() {